Skip to content

Commit

Permalink
cleanup jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjenkins1 committed Oct 10, 2024
1 parent 1156355 commit eea26b0
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
// "jest": {
// "globals": {
// "ts-jest": {
// "diagnostics": false
// }
// },
// "moduleFileExtensions": [
// "ts",
// "tsx",
// "js"
// ],
// "transform": {
// "^.+\\.(ts|tsx)$": "ts-jest"
// },
// "testMatch": [
// "**/tests/*jest.+(ts|tsx|js)"
// ]
// },
module.exports = {
globals: {
'ts-jest': {
diagnostics: false,
},
},
moduleFileExtensions: ['ts', 'tsx', 'js'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
'^.+\\.(ts|tsx)$': [ 'ts-jest', {
diagnostics: false,
}],
},
testMatch: ['**/tests/*jest.+(ts|tsx|js)'],
};

0 comments on commit eea26b0

Please sign in to comment.