diff --git a/packages/create-instance/create-instance.js b/packages/create-instance/create-instance.js index 83631d7e9..6236fe243 100644 --- a/packages/create-instance/create-instance.js +++ b/packages/create-instance/create-instance.js @@ -74,7 +74,7 @@ export default function createInstance ( if (component.components[c].extendOptions && !instanceOptions.components[c]) { if (options.logModifiedComponents) { - warn(`an extended child component ${c} has been modified to ensure it has the correct instance properties. This means it is not possible to find the component with a component selector. To find the component, you must stub it manually using the mocks mounting option.`) + warn(`an extended child component ${c} has been modified to ensure it has the correct instance properties. This means it is not possible to find the component with a component selector. To find the component, you must stub it manually using the stubs mounting option.`) } instanceOptions.components[c] = vue.extend(component.components[c]) } diff --git a/test/specs/mount.spec.js b/test/specs/mount.spec.js index d3bdec784..9c38bf39d 100644 --- a/test/specs/mount.spec.js +++ b/test/specs/mount.spec.js @@ -131,7 +131,7 @@ describeIf(process.env.TEST_ENV !== 'node', }) it('logs if component is extended', () => { - const msg = '[vue-test-utils]: an extended child component ChildComponent has been modified to ensure it has the correct instance properties. This means it is not possible to find the component with a component selector. To find the component, you must stub it manually using the mocks mounting option.' + const msg = '[vue-test-utils]: an extended child component ChildComponent has been modified to ensure it has the correct instance properties. This means it is not possible to find the component with a component selector. To find the component, you must stub it manually using the stubs mounting option.' const ChildComponent = Vue.extend({ template: '' })