Cleanup artifacts before running the tests

Jeremy Tuloup 5 years ago
parent d68ff10f4d
commit f916ee0c70

@ -7,9 +7,10 @@
"build:prod": "webpack --mode=production",
"build:test": "tsc --build tsconfig.test.json",
"clean": "rimraf build",
"clean:artifacts": "rimraf artifacts",
"prepublishOnly": "yarn run build",
"test": "jest",
"test:pwdebug": "PWDEBUG=1 jest",
"test": "jlpm run clean:artifacts && jest",
"test:pwdebug": "jlpm run clean:artifacts && PWDEBUG=1 jlpm run test",
"test:cov": "jest --collect-coverage",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:debug:watch": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",

Loading…
Cancel
Save