Add test:worker script that runs the mocha tests inside a worker
Showing
| ... | ... | @@ -50,7 +50,8 @@ |
| "prepublishOnly": "npm ls", | ||
| "install": "node-pre-gyp install --fallback-to-build", | ||
| "pretest": "node test/support/createdb.js", | ||
| "test": "mocha -R spec --timeout 480000" | ||
| "test": "mocha -R spec --timeout 480000", | ||
| "test:worker": "node --experimental-worker scripts/mocha-as-worker.js -R spec --timeout 480000" | ||
| }, | ||
| "license": "BSD-3-Clause", | ||
| "keywords": [ | ||
| ... | ... |
scripts/mocha-as-worker.js
0 → 100644
Please
register
or
sign in
to comment