mirror of
https://github.com/prymitive/karma
synced 2026-05-05 03:16:51 +00:00
fix(test): less noisy test-js-watch
Don't print coverage to console and only test changed files
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user