Skip to content

Commit 5ac38c3

Browse files
committed
chore: update vitest document
1 parent 2d2943b commit 5ac38c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/writing-tests/vitest-plugin.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,10 @@ We recommend running tests in a browser using Playwright, but you can use WebDri
379379

380380
We recommend using Chromium, because it is most likely to best match the experience of a majority of your users. However, you can use other browsers by adjusting the [browser name in the Vitest configuration file](https://vitest.dev/config/#browser-name). Note that [Playwright and WebDriverIO support different browsers](https://vitest.dev/guide/browser/#browser-option-types).
381381

382+
### How do I customized the test description
383+
384+
We are using the exportName of a story definition by default, but you can provide a `name` property for the story to customize the test description. This is useful when you want have places, brackets or other special characters in the test description.
385+
382386
## API
383387

384388
### Exports

0 commit comments

Comments
 (0)