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 f43b731 commit 41941bcCopy full SHA for 41941bc
test/VueLink.spec.js
@@ -32,30 +32,6 @@ describe('VueLink', () => {
32
33
expect(link.vm.$props.to).toBe('/test')
34
})
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
59
60
describe('external', () => {
61
it('does trigger external on http link', () => {
0 commit comments