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 1/2] #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


From 35e53a7ecfd37da2aabbbbe8357901e1baea3606 Mon Sep 17 00:00:00 2001
From: Albin Henriksson <albhe428@student.liu.se>
Date: Thu, 18 Feb 2021 08:51:30 +0100
Subject: [PATCH 2/2] #6 small change to trigger build

---
 client/src/App.test.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/App.test.tsx b/client/src/App.test.tsx
index 3a7a8cc5..fac51bb8 100644
--- a/client/src/App.test.tsx
+++ b/client/src/App.test.tsx
@@ -1,5 +1,5 @@
-import React from 'react'
 import { render, screen } from '@testing-library/react'
+import React from 'react'
 import App from './App'
 
 test('renders learn react link', () => {
-- 
GitLab