jest.config.js 466 Bytes
Newer Older
1 2 3 4 5 6

module.exports = {
  verbose: false,
  "transform": {
    "^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
  },
7
  "moduleDirectories": ["<rootDir>/node_modules", "<rootDir>/public"],
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
  "roots": [
    "<rootDir>/public"
  ],
  "testRegex": "(\\.|/)(jest)\\.(jsx?|tsx?)$",
  "moduleFileExtensions": [
    "ts",
    "tsx",
    "js",
    "jsx",
    "json"
  ],
  "setupFiles": [
    "./public/test/jest-shim.ts",
    "./public/test/jest-setup.ts"
  ]
};