We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa56c11 commit f461860Copy full SHA for f461860
src/index.js
@@ -6,6 +6,8 @@ import {cleanup} from './pure'
6
// if you don't like this then either import the `pure` module
7
// or set the RTL_SKIP_AUTO_CLEANUP env variable to 'true'.
8
if (!process.env.RTL_SKIP_AUTO_CLEANUP) {
9
+ // ignore teardown() in code coverage because Jest does not support it
10
+ /* istanbul ignore else */
11
if (typeof afterEach === 'function') {
12
afterEach(async () => {
13
await cleanup()
0 commit comments