File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 44
44
@echo " ################################################################################"
45
45
46
46
clean :
47
+ npm run jest:clean
47
48
rm -vfr ./node_modules
48
49
rm -vfr ./coverage
49
50
mkdir -p ./coverage
@@ -65,7 +66,7 @@ test/static: dependencies
65
66
npm run lint
66
67
67
68
test : env dependencies test/static
68
- npm run test
69
+ npm run jest:ci
69
70
70
71
coverage : test
71
72
Original file line number Diff line number Diff line change 7
7
"start" : " npm run test" ,
8
8
"lint" : " npx eslint . --color --max-warnings=0 && echo '✔ Your code looks good.'" ,
9
9
"lint:watch" : " npx esw . --color --max-warnings=0 --watch" ,
10
- "jest" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
10
+ "jest:ci" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
11
+ "jest:clean" : " jest --clearCache && watchman watch-del-all" ,
11
12
"jest:bruteforce" : " BRUTEFORCE=true node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug" ,
12
13
"jest:watch" : " node --experimental-vm-modules ./node_modules/.bin/jest --no-cache --ci --color --detectOpenHandles --forceExit --runInBand --debug --watchAll" ,
13
14
"prettier" : " npx prettier --write 'src/**/*.js'" ,
14
- "test" : " npm run jest" ,
15
+ "test" : " jest" ,
15
16
"test:all" : " npm run lint && npm run jest && echo 'Done.'" ,
16
17
"test:watch" : " concurrently -k -s first --names \" LINT,TEST\" -p \" [{name}]\" \" npm run lint:watch\" \" npm run jest:watch\" " ,
17
18
"update-all" : " npm install $(npm outdated | cut -d' ' -f 1 | sed '1d' | xargs -I '$' echo '$@latest' | xargs echo)"
You can’t perform that action at this time.
0 commit comments