fix(test): less noisy test-js-watch

Don't print coverage to console and only test changed files
This commit is contained in:
Łukasz Mierzwa
2018-08-21 18:36:32 +01:00
parent e23048dda5
commit 3fcbee1067

View File

@@ -132,7 +132,9 @@ test-js-watch: .build/deps-build-node.ok
@# hitting issues with jest --watch due to
@# https://github.com/facebook/jest/issues/3436
@# use onchange for now
cd ui && ./node_modules/onchange/cli.js 'src/*.js' 'src/**/*.js' -- npm test -- --coverage
cd ui && ./node_modules/onchange/cli.js 'src/*.js' 'src/**/*.js' -- \
npm test -- \
--coverage --coverageReporters=lcov --onlyChanged
.PHONY: test
test: lint test-go test-js