We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 565a073 commit 3c5c261Copy full SHA for 3c5c261
src/index.js
@@ -22,8 +22,10 @@ if (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {
22
})
23
}
24
25
- // This matches the behavior of React < 18.
+ // No test setup with other test runners available
26
+ /* istanbul ignore else */
27
if (typeof beforeAll === 'function' && typeof afterAll === 'function') {
28
+ // This matches the behavior of React < 18.
29
let previousIsReactActEnvironment = getIsReactActEnvironment()
30
beforeAll(() => {
31
previousIsReactActEnvironment = getIsReactActEnvironment()
0 commit comments