Skip to content

Commit 3c5c261

Browse files
committed
Coverage
1 parent 565a073 commit 3c5c261

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ if (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {
2222
})
2323
}
2424

25-
// This matches the behavior of React < 18.
25+
// No test setup with other test runners available
26+
/* istanbul ignore else */
2627
if (typeof beforeAll === 'function' && typeof afterAll === 'function') {
28+
// This matches the behavior of React < 18.
2729
let previousIsReactActEnvironment = getIsReactActEnvironment()
2830
beforeAll(() => {
2931
previousIsReactActEnvironment = getIsReactActEnvironment()

0 commit comments

Comments
 (0)