docs(test-components-js.md): Improve grammar
Signed-off-by: damar Zaky <damzaky@gmail.com>
This commit is contained in:
parent
8215bbbaad
commit
e4a39920d4
|
|
@ -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:
|
||||
|
||||
<Tabs
|
||||
defaultValue="react"
|
||||
|
|
|
|||
Loading…
Reference in a new issue