Skip to content

Commit

Permalink
tests: update Jest config for new versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JavierCane committed Aug 6, 2023
1 parent 1407763 commit 6fa32cf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module.exports = {
globals: {
"ts-jest": {
tsconfig: "tsconfig.json",
},
},
moduleFileExtensions: ["ts", "js"],
transform: {
"^.+\\.(ts|tsx)$": "ts-jest",
},
testMatch: ["**/test/**/*.spec.(ts|js)"],
testEnvironment: "node",
testEnvironment: "node",
moduleFileExtensions: ["ts", "js"],
testMatch: ["**/test/**/*.spec.(ts|js)"],
transform: {
"^.+\\.(ts|tsx)$": [
"ts-jest",
{
tsconfig: "tsconfig.json",
},
],
},
};

0 comments on commit 6fa32cf

Please sign in to comment.