Skip to content

Commit 8e0a310

Browse files
committed
test: add script to run tests and leave fixtures
This is particularly handy when tests fail, so that we can inspect the fixtures that they were using.
1 parent cf984e9 commit 8e0a310

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,9 @@
292292
"tap-cover": "tap -J --nyc-arg=--cache --coverage --timeout 600 --no-esm",
293293
"pretest": "standard",
294294
"test": "npm run test-tap --",
295+
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
295296
"sudotest": "sudo npm run tap -- \"test/tap/*.js\"",
297+
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run tap -- \"test/tap/*.js\"",
296298
"posttest": "rimraf test/npm_cache*",
297299
"test-coverage": "npm run tap-cover -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"",
298300
"test-tap": "npm run tap -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"",

0 commit comments

Comments
 (0)