diff --git a/packages/test-utils/types/index.d.ts b/packages/test-utils/types/index.d.ts index 9f10c1bda..d55451f98 100644 --- a/packages/test-utils/types/index.d.ts +++ b/packages/test-utils/types/index.d.ts @@ -180,7 +180,7 @@ export interface VueTestUtilsConfigOptions { stubs: Record mocks: Record methods: Record - provide?: Record, + provide?: Record, showDeprecationWarnings?: boolean deprecationWarningHandler?: Function } diff --git a/packages/test-utils/types/test/mount.ts b/packages/test-utils/types/test/mount.ts index 726337259..16f0a0303 100644 --- a/packages/test-utils/types/test/mount.ts +++ b/packages/test-utils/types/test/mount.ts @@ -99,7 +99,7 @@ config.stubs = { } config.stubs['quuux'] = true config.mocks = { - foo: 'bar', + foo: 'bar' } config.mocks['foo'] = { bar: 'baz' @@ -109,8 +109,10 @@ config.methods = { } config.methods['foo'] = () => true config.provide = { - foo: {} + foo: {}, + [Symbol('injection key')]: {} } + config.provide['foo'] = { bar: {} }