From 89ca60fc24c75464a60b135dac6d37ec06e83c0d Mon Sep 17 00:00:00 2001
From: Albin Henriksson <albhe428@student.liu.se>
Date: Tue, 16 Feb 2021 19:38:14 +0100
Subject: [PATCH] #6: Ignored a few files in jest so they don't influence
 coverage

---
 client/package.json | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/client/package.json b/client/package.json
index 7382e3ea..deacb7c4 100644
--- a/client/package.json
+++ b/client/package.json
@@ -52,5 +52,12 @@
       "last 1 safari version"
     ]
   },
+  "jest": {
+    "collectCoverageFrom": [
+      "src/**/*.{js,jsx,tsx,ts}",
+      "!src/index.tsx",
+      "!src/reportWebVitals.ts"
+    ]
+  },
   "proxy": "http://localhost:5000/api/"
 }
-- 
GitLab