Skip to content

Commit 2e92019

Browse files
committed
changed vm type to any
1 parent a8cc83b commit 2e92019

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/mountingOptions/global.plugins.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,21 @@ describe('mounting options: plugins', () => {
7373
const wrapper = mount(Option, {
7474
global: { plugins: [Plugin] }
7575
})
76-
expect(wrapper.vm.foo).toBeDefined()
76+
expect((wrapper.vm as any).foo).toBeDefined()
7777
})
7878

7979
it('provides access to a global property from an Options API component with a setup() function', () => {
8080
const wrapper = mount(OptionsSetup, {
8181
global: { plugins: [Plugin] }
8282
})
83-
expect(wrapper.vm.foo).toBeDefined()
83+
expect((wrapper.vm as any).foo).toBeDefined()
8484
})
8585

8686
it('provides access to a global property from an Options API component with a setup() function that does not return', () => {
8787
const wrapper = mount(OptionsSetupWithoutReturn, {
8888
global: { plugins: [Plugin] }
8989
})
90-
expect(wrapper.vm.foo).toBeDefined()
90+
expect((wrapper.vm as any).foo).toBeDefined()
9191
})
9292
})
9393
})

0 commit comments

Comments
 (0)