Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f4b813e

Browse files
Kent C. Doddsalexkrolick
authored andcommittedAug 10, 2019
feat: add dont-cleanup-after-each.js (#435)
This is just a simple file that sets the RTL_SKIP_AUTO_CLEANUP environment variable so that RTL doesn't setup automatic cleanup. This makes it easier for folks who don't want to write their tests in an isolated way. It's totally not recommended, but it will hopefully reduce pain while people migrate from one testing style to another.
1 parent 8277b06 commit f4b813e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎dont-cleanup-after-each.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
process.env.RTL_SKIP_AUTO_CLEANUP = true

‎package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"dist",
2626
"typings",
2727
"cleanup-after-each.js",
28+
"dont-cleanup-after-each.js",
2829
"pure.js"
2930
],
3031
"keywords": [

0 commit comments

Comments
 (0)
Please sign in to comment.