grafana/jest.config.js

27 lines
527 B
JavaScript
Raw Normal View History

module.exports = {
2017-11-17 09:18:30 -06:00
verbose: false,
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"moduleDirectories": ["node_modules", "public"],
"roots": [
"<rootDir>/public/app",
"<rootDir>/public/test",
"<rootDir>/packages"
],
2018-08-14 03:52:41 -05:00
"testRegex": "(\\.|/)(test)\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"setupFiles": [
"./public/test/jest-shim.ts",
"./public/test/jest-setup.ts"
2018-01-01 11:54:23 -06:00
],
"snapshotSerializers": ["enzyme-to-json/serializer"],
};