File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- /** @typedef {import("jest") } jestConfig */
2
- const jestConfig = {
1
+ import type { JestConfigWithTsJest } from "ts-jest"
2
+
3
+ const jestConfig : JestConfigWithTsJest = {
4
+ testMatch : [ "**/*.test.ts" ] ,
5
+ testEnvironment : "node" ,
6
+ // transform configurations
3
7
preset : "ts-jest/presets/js-with-ts-esm" ,
4
8
extensionsToTreatAsEsm : [ ".ts" ] ,
5
- transformIgnorePatterns : [ ] , // transform everything
6
- testEnvironment : "node" ,
7
- testMatch : [ "**/*.test.ts" ] ,
8
- testPathIgnorePatterns : [ "<rootDir>/src/python/setup-python/" ] ,
9
- // tsconfig
9
+ transformIgnorePatterns : [ ] , // transform node_modules
10
10
transform : {
11
11
"^.+\\.tsx?$" : [
12
12
"ts-jest" ,
13
- /** @type {import("ts-jest") } */
14
13
{
15
14
importHelpers : true ,
16
15
useESM : true ,
Original file line number Diff line number Diff line change 32
32
" ./src" ,
33
33
" dev/scripts" ,
34
34
" packages/untildify-user/untildify.ts" ,
35
- " dev/docker/__tests__/generate-docker-tests.mjs"
35
+ " dev/docker/__tests__/generate-docker-tests.mjs" ,
36
+ " ./jest.config.ts"
36
37
]
37
38
}
You can’t perform that action at this time.
0 commit comments