From 66100a99918bd177fad1c84865e44078a475056a Mon Sep 17 00:00:00 2001
From: Jack Reed <phillipjreed@gmail.com>
Date: Thu, 10 Jan 2019 14:00:44 -0700
Subject: [PATCH] turn coverage on by default for test script, enable lcov for
 codeclimate

---
 jest.json    | 2 +-
 package.json | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/jest.json b/jest.json
index 433054597..941e5a45d 100644
--- a/jest.json
+++ b/jest.json
@@ -3,7 +3,7 @@
     "src/**/*.{js,jsx}"
   ],
   "coverageDirectory": "<rootDir>/coverage",
-  "coverageReporters": ["html"],
+  "coverageReporters": ["html", "lcov"],
   "setupFiles": [
     "<rootDir>/setupJest.js"
   ],
diff --git a/package.json b/package.json
index 255066f6d..0c423b5ce 100644
--- a/package.json
+++ b/package.json
@@ -6,8 +6,7 @@
   "scripts": {
     "lint": "node_modules/.bin/eslint ./",
     "server": "node_modules/.bin/http-server",
-    "test": "npm run build && npm run lint && jest -c jest.json",
-    "test:coverage": "jest -c jest.json --coverage",
+    "test": "npm run build && npm run lint && jest -c jest.json --coverage",
     "test:watch": "jest -c jest.json --watch",
     "build": "webpack --mode=production",
     "build:dev": "webpack --mode=development",
-- 
GitLab