mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* tech: investigating karma + jest mix * tech: migrating tests to jest * tech: moved anoter test file to jest * test: migrated two more test files to jest * test: updated readme and made test fail to verify that it causes CI build failure * tech: added code coverage for jest tests * tech: testing codecov coverage * tech: migrated more tests * tech: migrated template srv to typescript and the tests to jest * tech: minor build fix * tech: build fixes * build: another attempt at fixing go test with coverage
24 lines
465 B
JavaScript
24 lines
465 B
JavaScript
|
|
module.exports = {
|
|
verbose: false,
|
|
"transform": {
|
|
"^.+\\.tsx?$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
|
|
},
|
|
"moduleDirectories": ["<rootDir>node_modules", "<rootDir>/public"],
|
|
"roots": [
|
|
"<rootDir>/public"
|
|
],
|
|
"testRegex": "(\\.|/)(jest)\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json"
|
|
],
|
|
"setupFiles": [
|
|
"./public/test/jest-shim.ts",
|
|
"./public/test/jest-setup.ts"
|
|
]
|
|
};
|