mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Allow passing test cli args.
Before, no CLI args would be passed when running `npm test`. Keeping the `mocha` at the end of the test script allows passing CLI args to Mocha.
This commit is contained in:
parent
bac0e5b7ed
commit
cf4e198d00
@ -12,7 +12,7 @@
|
||||
"debug": "node --prof-process --preprocess -j isolate*.log > v8data.json && rm isolate*.log && echo 'drag & drop ./v8data.json into https://mapbox.github.io/flamebearer/'",
|
||||
"https": "HTTPS_KEY=test/https/server.key HTTPS_CERT=test/https/server.crt npm start",
|
||||
"prepublishOnly": "npm run unbuild",
|
||||
"test": "mocha && echo 'Did you run PANIC holy-grail, 1~X, on-recover, etc.?'",
|
||||
"test": "echo 'Did you run PANIC holy-grail, 1~X, on-recover, etc.?' && mocha",
|
||||
"testsea": "mocha test/sea/sea.js",
|
||||
"testaxe": "mocha test/axe/holy-grail.js",
|
||||
"e2e": "mocha e2e/distributed.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user