Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
Adjust tap test command line to work with node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
cinnamon-bun committed Jan 7, 2022
1 parent 64e9bdf commit 86d00b6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@
"benchmark.browser": "yarn clean && yarn build-tsc && mkdir -p benchmark-results && yarn browserify-benchmark && yarn browser-run-benchmark | tee benchmark-results/benchmark.browser.txt",
"test": "yarn test.node-all",
"benchmark.node": "yarn clean && yarn build-tsc && mkdir -p benchmark-results && node --expose-gc build/test/node/*.benchmark.js | tee benchmark-results/benchmark.node.txt",
"test.node-all": "tap --timeout=120 --no-bail build/test/universal/*.test.js build/test/node/*.test.js build/test/improved/*.node.test.js",
"test.node-old": "tap --timeout=120 --no-bail build/test/universal/*.test.js build/test/node/*.test.js",
"test.node-improved": "tap --timeout=120 --no-bail build/test/improved/*.node.test.js",
"test-verbose": "yarn test -Rspecy --jobs=1",
"test.node-all": "tap -Rspec --timeout=120 --no-bail build/test/universal/*.test.js build/test/node/*.test.js build/test/improved/*.node.test.js",
"test.node-old": "tap -Rspec --timeout=120 --no-bail build/test/universal/*.test.js build/test/node/*.test.js",
"test.node-improved": "tap -Rspec --timeout=120 --no-bail build/test/improved/*.node.test.js",
"test-verbose": "yarn test -Rspec --jobs=1",
"test-coverage": "yarn test --coverage-report=lcov",
"watch-test": "onchange -i src/*.ts src/test/*.ts -- yarn clean-build-test",
"test-crypto": "tap -Rspecy --no-bail --jobs=1 build/test/node/crypto.node.test.js",
"test-lock": "tap -Rspecy --no-bail --jobs=1 build/test/universal/lock.test.js",
"test-peer-client-server": "tap -Rspecy --no-bail --jobs=1 build/test/node/peer-client-server.node.test.js",
"test-query-follower": "tap -Rspecy --no-coverage --no-bail --jobs=1 build/test/improved/query-follower.node.test.js",
"test-storage": "tap -Rspecy --no-bail --jobs=1 build/test/node/storage-async.node.test.js",
"test-storage-driver": "tap -Rspecy --no-bail --jobs=1 build/test/node/storage-driver-async.node.test.js",
"test-crypto": "tap -Rspec --no-bail --jobs=1 build/test/node/crypto.node.test.js",
"test-lock": "tap -Rspec --no-bail --jobs=1 build/test/universal/lock.test.js",
"test-peer-client-server": "tap -Rspec --no-bail --jobs=1 build/test/node/peer-client-server.node.test.js",
"test-query-follower": "tap -Rspec --no-coverage --no-bail --jobs=1 build/test/improved/query-follower.node.test.js",
"test-storage": "tap -Rspec --no-bail --jobs=1 build/test/node/storage-async.node.test.js",
"test-storage-driver": "tap -Rspec --no-bail --jobs=1 build/test/node/storage-driver-async.node.test.js",
"prepublishOnly": "yarn clean && yarn esbuild",
"depchart-main": "mkdir -p depchart && depchart `find src | grep .ts` --exclude src/print-platform-support.ts src/decls.d.ts src/index.ts src/index.browser.ts src/shims/*.ts src/entries/*.ts `find src | grep '/test/'` `find src | grep '/util/'` `find src | grep '/experimental/'` --rankdir LR -o depchart/depchart-main --node_modules omit",
"depchart-no-types": "mkdir -p depchart && depchart `find src | grep .ts` --exclude src/print-platform-support.ts src/decls.d.ts src/index.ts src/index.browser.ts src/shims/*.ts src/entries/*.ts `find src | grep '/test/'` `find src | grep '/util/'` `find src | grep '/experimental/'` `find src | grep types.ts` --rankdir LR -o depchart/depchart-no-types --node_modules omit",
Expand Down

1 comment on commit 86d00b6

@cinnamon-bun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solves this issue

tapjs/tapjs#624

Please sign in to comment.