docs(test-components-js.md): Improve grammar

Signed-off-by: damar Zaky <damzaky@gmail.com>
This commit is contained in:
damar Zaky 2024-07-14 15:37:04 +07:00 committed by GitHub
parent 8215bbbaad
commit e4a39920d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"