Browse Source

Fix test script

pull/355/head
Jerome Wu 5 years ago
parent
commit
41d82da35b
  1. 2
      package.json

2
package.json

@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
"test": "npm-run-all -p -r start test:all",
"test:all": "npm-run-all wait test:browser:* test:node:all",
"test:node": "nyc mocha --exit --bail --require ./scripts/test-helper.js",
"test:node:all": "npm run test:node:one -- ./tests/*.test.js",
"test:node:all": "npm run test:node -- ./tests/*.test.js",
"test:browser-tpl": "mocha-headless-chrome -a incognito -a no-sandbox -a disable-setuid-sandbox -a disable-logging -t 300000",
"test:browser:detect": "npm run test:browser-tpl -- -f ./tests/detect.test.html",
"test:browser:recognize": "npm run test:browser-tpl -- -f ./tests/recognize.test.html",

Loading…
Cancel
Save