test: add forceExit argv

This commit is contained in:
xtx1130 2018-04-19 14:43:02 +08:00 committed by xietianxin
parent 0aa6e9b2bf
commit fd79abfc19

View File

@ -58,10 +58,10 @@
"prebuild": "yarn clean",
"security": "nsp check || true",
"test": "yarn test:fixtures && yarn test:unit",
"test:fixtures": "jest --maxWorkers=4 --coverage -e test/fixtures",
"test:e2e": "jest --maxWorkers=1 test/e2e",
"test:fixtures": "jest --maxWorkers=4 --coverage -e test/fixtures --forceExit",
"test:e2e": "jest --maxWorkers=1 test/e2e --forceExit",
"test:lint": "yarn lint && yarn security",
"test:unit": "jest --maxWorkers=4 --coverage -e test/unit"
"test:unit": "jest --maxWorkers=4 --coverage -e test/unit --forceExit"
},
"engines": {
"node": ">=8.0.0",