Skip to content

Commit

Permalink
Move Jest configuration to config file (#2005)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn authored Sep 3, 2023
1 parent 0d432ba commit c7d39ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
12 changes: 12 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const config = {
testEnvironment: 'node',
collectCoverage: true,
transform: {
'^.+\\.tsx?$': 'ts-jest'
},
testPathIgnorePatterns: [
'/node_modules/'
]
};

module.exports = config;
10 changes: 0 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,6 @@
"typescript": "^5.0.4"
},
"types": "typings/index.d.ts",
"jest": {
"testEnvironment": "node",
"collectCoverage": true,
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/"
]
},
"engines": {
"node": ">=16"
},
Expand Down

0 comments on commit c7d39ca

Please sign in to comment.