Skip to content

Commit b2bd3fc

Browse files
authored
Merge pull request #334 from sir-gon/develop
[CONFIG] NPM and Makefile: jest clean action added.
2 parents 1621860 + 328562c commit b2bd3fc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ env:
4444
@echo "################################################################################"
4545

4646
clean:
47+
npm run jest:clean
4748
rm -vfr ./node_modules
4849
rm -vfr ./coverage
4950
mkdir -p ./coverage

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"start": "npm run test",
2929
"lint": "npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'",
3030
"jest:ci": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
31+
"jest:clean": "jest --clearCache && watchman watch-del-all",
3132
"jest:bruteforce": "BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug",
3233
"jest:watch": "node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll",
3334
"prettier": "npx prettier --write 'src/**/*.js'",

0 commit comments

Comments
 (0)