Skip to content

Commit

Permalink
fix: jest testEnvironment for basic-js and basic-ts templates (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckyMaler authored Mar 20, 2021
1 parent abcc4bf commit a205cf8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions templates/basic-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
},
"engines": {
"node": ">= 10.13.0"
},
"jest": {
"testEnvironment": "node"
}
}
1 change: 1 addition & 0 deletions templates/basic-ts/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ module.exports = {
},
testRegex: "(/__tests__/.*|\\.(test|spec))\\.[tj]sx?$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
testEnvironment: "node",
};
3 changes: 0 additions & 3 deletions templates/basic-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,5 @@
},
"engines": {
"node": ">= 10.13.0"
},
"jest": {
"testEnvironment": "node"
}
}

0 comments on commit a205cf8

Please sign in to comment.