We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c34215d commit 57f955dCopy full SHA for 57f955d
jest.config.js
@@ -1,4 +1,9 @@
1
module.exports = {
2
preset: "ts-jest",
3
testEnvironment: "node",
4
+ globals: {
5
+ "ts-jest": {
6
+ tsconfig: "tsconfig.jest.json",
7
+ },
8
9
};
tsconfig.jest.json
@@ -0,0 +1,21 @@
+{
+ "compilerOptions": {
+ "baseUrl": "./src",
+ "declaration": true,
+ "esModuleInterop": true,
+ "lib": ["ESNext"],
+ "module": "ESNext",
+ "moduleResolution": "node",
+ "noImplicitAny": true,
10
+ "noImplicitReturns": true,
11
+ "noUnusedLocals": true,
12
+ "outDir": "./dist/esm",
13
+ "removeComments": true,
14
+ "skipLibCheck": true,
15
+ "sourceMap": true,
16
+ "strict": true,
17
+ "target": "ES2018"
18
19
+ "include": ["src"],
20
+ "exclude": ["examples/*", "tests/**/*"]
21
+}
0 commit comments