File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5858 "rimraf" : " ^6.0.1" ,
5959 "rollup" : " ^4.0.0" ,
6060 "ts-jest" : " ^29.0.0" ,
61- "typescript" : " ^5 .0.0 " ,
61+ "typescript" : " ^6 .0.3 " ,
6262 "typescript-eslint" : " ^8.56.0"
6363 },
6464 "jest" : {
6767 " <rootDir>/src"
6868 ],
6969 "transform" : {
70- "^.+\\ .tsx?$" : " ts-jest"
70+ "^.+\\ .tsx?$" : [
71+ " ts-jest" ,
72+ {
73+ "tsconfig" : " tsconfig.test.json"
74+ }
75+ ]
7176 },
7277 "testRegex" : " (/__tests__/.*|(\\ .|/)(test|spec))\\ .tsx?$" ,
7378 "moduleFileExtensions" : [
Original file line number Diff line number Diff line change 4141 "noFallthroughCasesInSwitch" : true /* Report errors for fallthrough cases in switch statement. */ ,
4242
4343 /* Module Resolution Options */
44- "moduleResolution" : " node " /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6) . */ ,
44+ "moduleResolution" : " bundler " /* Specify module resolution strategy: 'bundler' for use with bundlers like Rollup . */ ,
4545 // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
4646 // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
4747 // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
6565 /* Advanced Options */
6666 "skipLibCheck" : true /* Skip type checking of declaration files. */ ,
6767 "forceConsistentCasingInFileNames" : true /* Disallow inconsistently-cased references to the same file. */
68- }
68+ },
69+ "exclude" : [" **/*.test.ts" , " **/*.spec.ts" ]
6970}
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "types" : [" jest" ]
5+ },
6+ "exclude" : [" dist" ]
7+ }
You can’t perform that action at this time.
0 commit comments