From cc9da0d85e1d6f8b1863c20659074bf0672c0e73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20T=C3=B6rnqvist?= <simto830@student.liu.se>
Date: Tue, 28 Sep 2021 12:44:12 +0200
Subject: [PATCH] SHOULD WORK???

---
 .gitlab-ci.yml       | 3 ---
 tests/client.test.js | 3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 56e0d31..bfac645 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,6 @@ stages:
 
 pytest:
   stage: test
-  allow_failure: true
   script:
     # Install python, pip, pytest and requirements
     - touch log.txt
@@ -25,7 +24,6 @@ pytest:
 
 jest:
   stage: test
-  allow_failure: true
   image: node:latest
   script:
     - npm install --save-dev jest jest-junit
@@ -40,7 +38,6 @@ jest:
 
 eslint:
   stage: test
-  allow_failure: true
   image: node:latest
   script:
     - npm install --save-dev eslint
diff --git a/tests/client.test.js b/tests/client.test.js
index 8c95933..6216a9f 100644
--- a/tests/client.test.js
+++ b/tests/client.test.js
@@ -1,3 +1,6 @@
+import $ from 'jquery'; // Does this work???
+global.$ = global.jQuery = $; // Does this work???
+
 const client = require('../client/client.js'); // Relative path
 
 describe('client.test.js', () => {
-- 
GitLab