Revision 3ce45e715412a95fb0a30209ddaf18faa2db83dc authored by Peter Holmberg on 17 January 2019, 11:57:15 UTC, committed by Peter Holmberg on 17 January 2019, 11:57:15 UTC
1 parent 736db86
Raw File
jest.config.js

module.exports = {
  verbose: false,
  "transform": {
    "^.+\\.(ts|tsx)$": "ts-jest"
  },
  "moduleDirectories": ["node_modules", "public"],
  "roots": [
    "<rootDir>/public/app",
    "<rootDir>/public/test",
    "<rootDir>/packages"
  ],
  "testRegex": "(\\.|/)(test)\\.(jsx?|tsx?)$",
  "moduleFileExtensions": [
    "ts",
    "tsx",
    "js",
    "jsx",
    "json"
  ],
  "setupFiles": [
    "./public/test/jest-shim.ts",
    "./public/test/jest-setup.ts"
  ],
  "snapshotSerializers": ["enzyme-to-json/serializer"],
};
back to top