diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 56e0d315ffd53422c2e93d64b3b5db6c14bff28f..bfac645c16e533af1d1c492a39093327f8223fb0 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 8c959338e818f3b6d239728b5c20c2f8cdcb6906..6216a9f4bd7faa5e4e5628c2e562b85595c1f35b 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', () => {