chore: add detectOpenHandles for tracking down more jest exist details

This commit is contained in:
Clark Du 2018-06-13 10:54:32 +01:00
parent 1958ba8953
commit feabdcafaa
No known key found for this signature in database
GPG Key ID: 32CBD8CD478AF898

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 --forceExit --coverage -e test/fixtures",
"test:e2e": "jest --maxWorkers=1 --forceExit test/e2e",
"test:fixtures": "jest --maxWorkers=4 --forceExit --detectOpenHandles --coverage -e test/fixtures",
"test:e2e": "jest --maxWorkers=1 --forceExit --detectOpenHandles test/e2e",
"test:lint": "yarn lint && yarn security",
"test:unit": "jest --maxWorkers=4 --forceExit --coverage -e test/unit"
"test:unit": "jest --maxWorkers=4 --forceExit --detectOpenHandles --coverage -e test/unit"
},
"engines": {
"node": ">=8.0.0",