mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
30 lines
634 B
JavaScript
30 lines
634 B
JavaScript
|
|
module.exports = {
|
|
verbose: false,
|
|
"transform": {
|
|
"^.+\\.(ts|tsx)$": "ts-jest"
|
|
},
|
|
"moduleDirectories": ["node_modules", "public"],
|
|
"roots": [
|
|
"<rootDir>/public/app",
|
|
"<rootDir>/public/test",
|
|
"<rootDir>/packages",
|
|
"<rootDir>/scripts",
|
|
],
|
|
"testRegex": "(\\.|/)(test)\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"./public/test/jest-shim.ts",
|
|
"./public/test/jest-setup.ts",
|
|
"jest-canvas-mock"
|
|
],
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"],
|
|
"globals": { "ts-jest": { "isolatedModules": true } },
|
|
};
|