diff --git a/gitlab-ci/test.yml b/gitlab-ci/test.yml index 6053aae..7ef77f2 100644 --- a/gitlab-ci/test.yml +++ b/gitlab-ci/test.yml @@ -15,6 +15,6 @@ javascript-tests: stage: test image: node:lts before_script: - - npm install + - npm ci script: - npm test diff --git a/jest.config.js b/jest.config.js index a9a62f6..0746761 100644 --- a/jest.config.js +++ b/jest.config.js @@ -168,7 +168,7 @@ module.exports = { // A map from regular expressions to paths to transformers transform: { - "^.+\\.[js|jsx]?$": "babel-jest" + "^.+\\.j[s|sx]?$": "babel-jest" }, // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation