mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
27 lines
527 B
JavaScript
27 lines
527 B
JavaScript
|
|
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"],
|
|
};
|