20 lines
427 B
JavaScript
20 lines
427 B
JavaScript
module.exports = {
|
|
collectCoverage: false,
|
|
moduleFileExtensions: [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node",
|
|
],
|
|
testPathIgnorePatterns: [
|
|
"<rootDir>/lib/",
|
|
"<rootDir>/node_modules/",
|
|
],
|
|
// Accept anything called .(spec|test).[js]jx? in __tests__ or root (or /lib).
|
|
testRegex: "(/__tests__/.*|(\\.|/)(spec|test))\\.(jsx?|tsx?)$",
|
|
transform: {
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
}
|
|
};
|