File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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()
265265> Keep in mind that if you use the ` / pure` import, you have to call the
266266> ` cleanup` export manually after each test.
267267
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 `
269269
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 `
271271throw an error if ` IS_REACT_ACT_ENVIRONMENT ` is ` true ` .
272272
273- React Testing Library usually sets ` IS_REACT_ACT_ENVIRONMENT ` to ` true `
273+ React Testing Library sets ` IS_REACT_ACT_ENVIRONMENT ` to ` true `
274274globally, and wraps some helpers like ` userEvent .click ` in ` act` calls.
275275
276276To 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