Skip to content

Commit

Permalink
test: add script to run tests and leave fixtures
Browse files Browse the repository at this point in the history
This is particularly handy when tests fail, so that we can inspect the
fixtures that they were using.
  • Loading branch information
isaacs committed Jul 16, 2019
1 parent cf984e9 commit 8e0a310
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@
"tap-cover": "tap -J --nyc-arg=--cache --coverage --timeout 600 --no-esm",
"pretest": "standard",
"test": "npm run test-tap --",
"test:nocleanup": "NO_TEST_CLEANUP=1 npm run test --",
"sudotest": "sudo npm run tap -- \"test/tap/*.js\"",
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run tap -- \"test/tap/*.js\"",
"posttest": "rimraf test/npm_cache*",
"test-coverage": "npm run tap-cover -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"",
"test-tap": "npm run tap -- \"test/tap/*.js\" \"test/network/*.js\" \"test/broken-under-*/*.js\"",
Expand Down

0 comments on commit 8e0a310

Please # to comment.