From 3fcbee1067b874c183335849281d6620e8f5959a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 21 Aug 2018 18:36:32 +0100 Subject: [PATCH] fix(test): less noisy test-js-watch Don't print coverage to console and only test changed files --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 59c70948d..e6bb8959f 100644 --- a/Makefile +++ b/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