Don't automatically rebuild when running yarn test

This commit is contained in:
Alex Browne
2018-06-04 13:36:34 -07:00
parent 79472552aa
commit c4538cada7
15 changed files with 30 additions and 15 deletions

View File

@@ -10,7 +10,8 @@
"scripts": {
"watch": "tsc -w",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
"test": "run-s clean build run_mocha",
"test": "yarn run_mocha",
"rebuild-and-test": "run-s clean build test",
"test:circleci": "yarn test:coverage",
"run_mocha": "mocha lib/test/**/*_test.js --bail --exit",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",