jest mocking
This commit is contained in:
+8
-3
@@ -5,6 +5,7 @@
|
||||
"es2017"
|
||||
],
|
||||
"outDir": "./dist/",
|
||||
"skipLibCheck": true,
|
||||
"sourceMap": true,
|
||||
"esModuleInterop": true,
|
||||
"noImplicitAny": false,
|
||||
@@ -12,13 +13,17 @@
|
||||
"moduleResolution": "Bundler",
|
||||
"target": "es6",
|
||||
"jsx": "react",
|
||||
"typeRoots": ["node_modules/@types", "src/typings"],
|
||||
"typeRoots": ["node_modules/@types", "@types"],
|
||||
"resolveJsonModule": true
|
||||
},
|
||||
"include": [
|
||||
"src",
|
||||
"@types/**/*"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.test.ts",
|
||||
"**/*.test.tsx",
|
||||
// "**/*.test.ts",
|
||||
// "**/*.test.tsx",
|
||||
"node_modules/@types/jest"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user