Skip to content

Commit

Permalink
Update angular config.
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieGreenman committed Oct 25, 2023
1 parent 1e7fb98 commit 0b8b2b1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/rz/angular/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ module.exports = {
preset: 'ts-jest/presets/default-esm',
testEnvironment: 'node',
transform: {
'^.+\\.(ts|js)$': ['ts-jest', {useESM: true, diagnostics: false}]
'^.+\\.(ts|js)$': ['ts-jest', { useESM: true, diagnostics: false }],
},
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(t|j)s$',
moduleFileExtensions: ['ts', 'js', 'json', 'node'],
globals: {
'ts-jest': {
skipBabel: true,
transform: {
'^.+\\.(ts|js)$': ['ts-jest', { useESM: true, diagnostics: false }],
},
},
},
};

0 comments on commit 0b8b2b1

Please sign in to comment.