0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-30 14:29:04 -05:00

use force exit in tests

This commit is contained in:
liabru 2021-12-10 23:01:04 +00:00
parent 32fd2852d1
commit 8adf8102fb

View file

@ -54,8 +54,8 @@
"test-all": "jest --no-cache", "test-all": "jest --no-cache",
"test-save": "SAVE=true npm run test-node", "test-save": "SAVE=true npm run test-node",
"test-watch": "npm run test-node -- --watch", "test-watch": "npm run test-node -- --watch",
"test-node": "npm run build-dev && node --expose-gc node_modules/.bin/jest --no-cache --runInBand ./test/Examples.spec.js", "test-node": "npm run build-dev && node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Examples.spec.js",
"test-browser": "node --expose-gc node_modules/.bin/jest --no-cache --runInBand ./test/Browser.spec.js", "test-browser": "node --expose-gc node_modules/.bin/jest --force-exit --no-cache --runInBand ./test/Browser.spec.js",
"changelog": "conventional-changelog -i CHANGELOG.md -s -r", "changelog": "conventional-changelog -i CHANGELOG.md -s -r",
"release": "npm version --no-git-tag-version", "release": "npm version --no-git-tag-version",
"preversion": "git checkout master && npm run lint && SAVE=true npm run test-all", "preversion": "git checkout master && npm run lint && SAVE=true npm run test-all",