File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -265,12 +265,12 @@ await expect(snapshotStream).toRerender()
265
265
> Keep in mind that if you use the ` / pure` import, you have to call the
266
266
> ` cleanup` export manually after each test.
267
267
268
- ## Usage side-by side with ` @testing- library/ react` or other tools that set ` IS_REACT_ACT_ENVIRONMENT ` or use ` act `
268
+ ## Usage side-by side with ` @testing- library/ react` or other tools that use ` act ` or set ` IS_REACT_ACT_ENVIRONMENT `
269
269
270
- This library is written in a way if should not be used with ` act` , and it will
270
+ This library should not be used with ` act` , and it will throw an error if ` IS_REACT_ACT_ENVIRONMENT ` is ` true `
271
271
throw an error if ` IS_REACT_ACT_ENVIRONMENT ` is ` true ` .
272
272
273
- React Testing Library usually sets ` IS_REACT_ACT_ENVIRONMENT ` to ` true `
273
+ React Testing Library sets ` IS_REACT_ACT_ENVIRONMENT ` to ` true `
274
274
globally, and wraps some helpers like ` userEvent .click ` in ` act` calls.
275
275
276
276
To use this library side-by-side with React Testing Library, we ship the
You can’t perform that action at this time.
0 commit comments