diff --git a/docs/en/api/config.md b/docs/en/api/config.md index 9a85de8d1..aacec60fb 100644 --- a/docs/en/api/config.md +++ b/docs/en/api/config.md @@ -15,7 +15,7 @@ Vue Test Utils includes a config object to defined options used by Vue Test Util The stub stored in `config.stubs` is used by default. Stubs to use in components. These are overwritten by `stubs` passed in the mounting options. -When passing `stubs` as an array in the mounting options, `config.stubs` are converted to an array, and will stub components with a basic component that returns ``. +When passing `stubs` as an array in the mounting options, `config.stubs` are converted to an array, and will stub components with a basic component that returns `<${component name}-stub>`. Example: diff --git a/docs/en/api/options.md b/docs/en/api/options.md index 54d3866b0..fd9f0a345 100644 --- a/docs/en/api/options.md +++ b/docs/en/api/options.md @@ -99,7 +99,7 @@ expect(wrapper.find('#fooWrapper').html()).toBe('

0,text1 - type: `{ [name: string]: Component | boolean } | Array` -Stubs child components. Can be an Array of component names to stub, or an object. If `stubs` is an Array, every stub is ``. +Stubs child components. Can be an Array of component names to stub, or an object. If `stubs` is an Array, every stub is `<${component name}-stub>`. Example: