Skip to content

Commit 41941bc

Browse files
test: remove duplicated test
1 parent f43b731 commit 41941bc

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

test/VueLink.spec.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,6 @@ describe('VueLink', () => {
3232

3333
expect(link.vm.$props.to).toBe('/test')
3434
})
35-
it('adds slashes', () => {
36-
const wrapper = mount(VueLinkAddSlash, {
37-
localVue,
38-
attachToDocument: true,
39-
stubs: {
40-
RouterLink: RouterLinkStub
41-
},
42-
context: {
43-
props: {
44-
to: '/test'
45-
}
46-
},
47-
slots: {
48-
default: '<div>Hi</div>'
49-
}
50-
})
51-
52-
expect(wrapper.isVueInstance()).toBe(true)
53-
expect(wrapper.contains(RouterLinkStub)).toBe(true)
54-
55-
const link = wrapper.find(RouterLinkStub)
56-
57-
expect(link.vm.$props.to).toBe('/test/')
58-
})
5935
})
6036
describe('external', () => {
6137
it('does trigger external on http link', () => {

0 commit comments

Comments
 (0)