From 402da46ff611b1a23af07ef0109147d62bf3b9ff Mon Sep 17 00:00:00 2001 From: Yamagishi Kazutoshi Date: Wed, 18 Oct 2017 18:39:36 +0900 Subject: Enable coverage for Jest (#5442) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e398730c4..594e42475 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "start": "node ./streaming/index.js", "test": "npm run test:lint && npm run test:jest", "test:lint": "eslint -c .eslintrc.yml --ext=js app/javascript/ config/webpack/ spec/javascript/ streaming/", - "test:jest": "cross-env NODE_ENV=test jest", + "test:jest": "cross-env NODE_ENV=test jest --coverage", "postinstall": "npm rebuild node-sass" }, "repository": { -- cgit