We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e47c84c commit a89514dCopy full SHA for a89514d
__tests__/RouterView.spec.ts
@@ -288,18 +288,6 @@ describe('RouterView', () => {
288
expect(wrapper.html()).toBe(`<div>User: 4</div>`)
289
})
290
291
- it('passes params as props with props: true', async () => {
292
- const { wrapper, route } = await factory(routes.withParams)
293
-
294
- expect(wrapper.html()).toBe(`<div>User: 1</div>`)
295
296
- await route.set({
297
- ...routes.withParams,
298
- params: { id: '4' },
299
- })
300
- expect(wrapper.html()).toBe(`<div>User: 4</div>`)
301
302
303
it('can pass an object as props', async () => {
304
const { wrapper } = await factory(routes.withIdAndOther)
305
expect(wrapper.html()).toBe(`<div>id:foo;other:fixed</div>`)
0 commit comments