1 | module.exports = {
|
2 | roots: ["<rootDir>/pages", "<rootDir>/app"],
|
3 | testURL: "http://localhost",
|
4 | transform: {
|
5 | "^.+\\.tsx?$": "ts-jest"
|
6 | },
|
7 | testRegex: "((\\.|/)(test|spec))\\.tsx?$",
|
8 | moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
9 | moduleNameMapper: {
|
10 | "^@example(.*)$": "<rootDir>/app/example$1",
|
11 | },
|
12 | }
|