Skip to content

Commit

Permalink
chore: update vitest document
Browse files Browse the repository at this point in the history
  • Loading branch information
InfiniteXyy committed Sep 18, 2024
1 parent 2d2943b commit 4b21d12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/writing-tests/vitest-plugin.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,10 @@ We recommend running tests in a browser using Playwright, but you can use WebDri

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).

### How do I customized the test description

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 letters in the test description.

## API

### Exports
Expand Down

0 comments on commit 4b21d12

Please sign in to comment.