Skip to content

Commit 6c4ce0e

Browse files
committed
chore: fix ts-jest
1 parent 87fca45 commit 6c4ce0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jest.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@ import { getJestProjectsAsync } from '@nx/jest';
22

33
export default async () => ({
44
preset: 'ts-jest',
5+
moduleFileExtensions: ['ts', 'js', 'html'],
6+
transform: {
7+
'^.+\\.(ts|html)$': 'ts-jest',
8+
},
59
projects: await getJestProjectsAsync(),
610
});

0 commit comments

Comments
 (0)