File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
docs/react-testing-library Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -259,8 +259,9 @@ expect(firstRender).toMatchDiffSnapshot(asFragment())
259
259
Unmounts React trees that were mounted with [render](#render).
260
260
261
261
> Please note that this is done automatically if the testing framework you're
262
- > using supports the ` afterEach ` global (like mocha, Jest, and Jasmine). If not,
263
- > you will need to do manual cleanups after each test.
262
+ > using supports the ` afterEach ` global and it is injected to your testing
263
+ > environment (like mocha, Jest, and Jasmine). If not, you will need to do
264
+ > manual cleanups after each test.
264
265
265
266
For example, if you're using the [ava](https://github.com/avajs/ava) testing
266
267
framework, then you would need to use the ` test .afterEach ` hook like so:
You can’t perform that action at this time.
0 commit comments