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 49a59f5 commit 4eccad7Copy full SHA for 4eccad7
jest.config.js
@@ -0,0 +1,11 @@
1
+module.exports = {
2
+ preset: "jest-preset-typescript",
3
+ moduleFileExtensions: ["ts", "js"],
4
+ transform: {
5
+ "^.+\\.(js)$": "<rootDir>/node_modules/babel-jest",
6
+ "\\.(ts)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
7
+ },
8
+ testRegex: "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
9
+ testPathIgnorePatterns: ["\\.snap$", "<rootDir>/node_modules/"],
10
+ cacheDirectory: ".jest/cache"
11
+};
0 commit comments