diff --git a/docs/src/test-components-js.md b/docs/src/test-components-js.md index 87cf263711..60d920ee73 100644 --- a/docs/src/test-components-js.md +++ b/docs/src/test-components-js.md @@ -458,7 +458,7 @@ test('slot', async ({ mount }) => { ### hooks -You can use `beforeMount` and `afterMount` hooks to configure your app. This lets you setup things like your app router, fake server etc. giving you the flexibility you need. You can also pass custom configuration from the `mount` call from a test, which is accessible from the `hooksConfig` fixture. This includes any config that needs to be run before or after mounting the component. An example of configuring a router is provided below: +You can use `beforeMount` and `afterMount` hooks to configure your app. This lets you set up things like your app router, fake server etc. giving you the flexibility you need. You can also pass custom configuration from the `mount` call from a test, which is accessible from the `hooksConfig` fixture. This includes any config that needs to be run before or after mounting the component. An example of configuring a router is provided below: