-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] config: Feed dedicated tsconfig.json file to jest
Since 457fe70, we changed stopped compiling the `.ts` files in the `tests` folders to save compilation time. Unfortunately, jest was using the very same file to compile (via `ts-jest`) and it actually needs to compile `tests/setup/jest.setup.ts` to work properly. This commit introduces a new dedicated `tsconfig` file for ts-jest in order to retain the improvements of 457fe70. closes #1317 Signed-off-by: Pierre Rousseau (pro) <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"preserveConstEnums": true, | ||
"noImplicitThis": true, | ||
"moduleResolution": "node", | ||
"removeComments": false, | ||
"target": "es2019", | ||
"outDir": "dist", | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": false, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"strictPropertyInitialization": true, | ||
"strictNullChecks": true, | ||
"esModuleInterop": true, | ||
"allowJs": true, | ||
"sourceMap": true | ||
}, | ||
"include": ["src", "tests"], | ||
"typedocOptions": { | ||
"entryPoints": ["src/index.ts"], | ||
"out": "doc/tsdoc", | ||
"name": "o-spreadsheet API", | ||
"readme": "none", | ||
"excludePrivate": true, | ||
"hideGenerator": true, | ||
"disableSources": true, | ||
"excludeExternals": true | ||
} | ||
} |