Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/vue-testing-library/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,14 @@ title: Setup
---

`Vue Testing Library` does not require any configuration to be used.

### Cleanup

#### Jest

[`cleanup`](./api#cleanup) will be called after each test automatically for
Jest, so normally you don't need to change anything.

#### Vitest

If you're using Vitest and want to cleanup after each test, you need to [enable globals](https://vitest.dev/config/#globals) through its configuration file.