Skip to content

Commit 39fdc6c

Browse files
Apply suggestions from code review
Co-authored-by: Tim Deschryver <28659384+timdeschryver@users.noreply.github.com>
1 parent 6dae7e6 commit 39fdc6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {
2222
})
2323
} else {
2424
console.warn(
25-
`The current test runner does not support afterEach/teardown. This means we won't be able to run automatic cleanup and you should be calling cleanup() manually.`,
25+
`The current test runner does not support afterEach/teardown hooks. This means we won't be able to run automatic cleanup and you should be calling cleanup() manually.`,
2626
)
2727
}
2828

@@ -41,7 +41,7 @@ if (typeof process === 'undefined' || !process.env?.RTL_SKIP_AUTO_CLEANUP) {
4141
})
4242
} else {
4343
console.warn(
44-
'The current test runner does not support beforeAll/afterAll. This means you should be setting IS_REACT_ACT_ENVIRONMENT manually.',
44+
'The current test runner does not support beforeAll/afterAll hooks. This means you should be setting IS_REACT_ACT_ENVIRONMENT manually.',
4545
)
4646
}
4747
}

0 commit comments

Comments
 (0)