Update jest setup
This commit is contained in:
parent
9e6be5c807
commit
3152c8f14e
2 changed files with 2 additions and 2 deletions
|
|
@ -15,6 +15,6 @@ javascript-tests:
|
||||||
stage: test
|
stage: test
|
||||||
image: node:lts
|
image: node:lts
|
||||||
before_script:
|
before_script:
|
||||||
- npm install
|
- npm ci
|
||||||
script:
|
script:
|
||||||
- npm test
|
- npm test
|
||||||
|
|
|
||||||
|
|
@ -168,7 +168,7 @@ module.exports = {
|
||||||
|
|
||||||
// A map from regular expressions to paths to transformers
|
// A map from regular expressions to paths to transformers
|
||||||
transform: {
|
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
|
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue