Skip to content

Commit d5e5881

Browse files
authored
Merge pull request #329 from sir-gon/develop
[CONFIG] Node script to run test: jest command fixed.
2 parents cea6362 + 4dc4244 commit d5e5881

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
},
2727
"scripts": {
2828
"lint": "npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'",
29-
"test": "jest"
29+
"jest": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
30+
"jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
31+
"jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll",
32+
"test": "npm run jest",
33+
"test:all": "npm run lint && npm run jest && echo 'Done.'"
3034
}
3135
}

0 commit comments

Comments
 (0)