Skip to content

Commit

Permalink
Remove deprecated globals field in Jest config
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari committed Oct 22, 2024
1 parent 27df82c commit 188dea9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions calc/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ module.exports = {
coverageDirectory: 'coverage',
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/'],
coveragePathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/dist/' ],
globals: {
'ts-jest': {
packageJson: 'package.json',
},
transform: {
'^.+\\.test\\.ts$': [
'ts-jest', {
packageJson: 'package.json',
}
],
},
};

0 comments on commit 188dea9

Please sign in to comment.