Skip to content

Commit e61f1ff

Browse files
committedOct 3, 2024·
test: switch example app test config files to ts
1 parent 1264935 commit e61f1ff

File tree

75 files changed

+506
-525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+506
-525
lines changed
 

‎examples/example-app-monorepo/apps/app1/jest-esm-isolated.config.mjs

-19
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { JestConfigWithTsJest } from 'ts-jest';
2+
3+
import jestCfg from './jest-esm.config';
4+
5+
export default {
6+
...jestCfg,
7+
transform: {
8+
'^.+\\.(ts|js|html|svg)$': [
9+
'jest-preset-angular',
10+
{
11+
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
12+
stringifyContentPathRegex: '\\.(html|svg)$',
13+
isolatedModules: true,
14+
useESM: true,
15+
},
16+
],
17+
},
18+
} satisfies JestConfigWithTsJest;

0 commit comments

Comments
 (0)
Please sign in to comment.