Skip to content

Commit a89514d

Browse files
authored
test: delete duplicate test case (vuejs#449)
1 parent e47c84c commit a89514d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

__tests__/RouterView.spec.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -288,18 +288,6 @@ describe('RouterView', () => {
288288
expect(wrapper.html()).toBe(`<div>User: 4</div>`)
289289
})
290290

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-
303291
it('can pass an object as props', async () => {
304292
const { wrapper } = await factory(routes.withIdAndOther)
305293
expect(wrapper.html()).toBe(`<div>id:foo;other:fixed</div>`)

0 commit comments

Comments
 (0)