Skip to content

Commit

Permalink
fixup! fix(scripts-jest): update ts-jest configuration introduce in v29
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed May 31, 2023
1 parent 9d76764 commit 87a3b78
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/jest/src/jest.preset.v8.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ describe(`v8 preset`, () => {

expect(actual).toEqual(
expect.objectContaining({
globals: {
'ts-jest': {
isolatedModules: true,
},
},
moduleDirectories: [
'node_modules',
`${workspaceRoot}/scripts/jest/node_modules`,
Expand All @@ -33,7 +28,12 @@ describe(`v8 preset`, () => {
},
testEnvironment: 'jsdom',
transform: {
'^.+\\.tsx?$': 'ts-jest',
'^.+\\.tsx?$': [
'ts-jest',
{
isolatedModules: true,
},
],
},
restoreMocks: true,
clearMocks: true,
Expand Down

0 comments on commit 87a3b78

Please sign in to comment.