We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b0bda commit 9ccc340Copy full SHA for 9ccc340
docs/vue-testing-library/setup.mdx
@@ -4,3 +4,15 @@ title: Setup
4
---
5
6
`Vue Testing Library` does not require any configuration to be used.
7
+
8
+### Cleanup
9
10
+#### Jest
11
12
+[`cleanup`](./api#cleanup) will be called after each test automatically for
13
+Jest, so normally you don't need to change anything.
14
15
+#### Vitest
16
17
+Add `globals: true` to your `test` section of your vite config file to ensure we
18
+can access `afterEach` to do the cleanup.
0 commit comments