2019-02-10 15:26:50 +03:00
|
|
|
{
|
|
|
|
"bail": true,
|
|
|
|
"verbose": true,
|
2021-03-21 10:09:18 +03:00
|
|
|
"notify": false,
|
2019-02-10 15:26:50 +03:00
|
|
|
"collectCoverage": true,
|
2022-02-03 15:42:31 +03:00
|
|
|
"resetMocks": true,
|
2019-02-10 15:26:50 +03:00
|
|
|
"rootDir": "../..",
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/test/unit/**/*.spec.js"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
2019-03-05 03:38:18 +03:00
|
|
|
"jest-canvas-mock",
|
2019-02-10 15:26:50 +03:00
|
|
|
"<rootDir>/test/paths.setup.js"
|
|
|
|
],
|
2019-02-24 12:44:10 +03:00
|
|
|
"setupFilesAfterEnv": [
|
2021-12-27 14:02:46 +03:00
|
|
|
"jest-extended/all",
|
2019-02-24 12:44:10 +03:00
|
|
|
"<rootDir>/test/unit/unit.setup.js"
|
|
|
|
],
|
2019-02-10 15:26:50 +03:00
|
|
|
"coverageDirectory": "<rootDir>/test/coverage",
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/server/src/**/*.js",
|
2022-02-03 14:37:56 +03:00
|
|
|
"!<rootDir>/server/src/core/http-server/api/**/*.js",
|
|
|
|
"!<rootDir>/server/src/core/http-server/plugins/**/*.js",
|
2019-02-10 15:26:50 +03:00
|
|
|
"!<rootDir>/server/src/stt/google-cloud-stt/**/*.js",
|
|
|
|
"!<rootDir>/server/src/stt/watson-stt/**/*.js",
|
|
|
|
"!<rootDir>/server/src/tts/amazon-polly/**/*.js",
|
|
|
|
"!<rootDir>/server/src/tts/google-cloud-tts/**/*.js",
|
|
|
|
"!<rootDir>/server/src/tts/watson-tts/**/*.js",
|
|
|
|
"!<rootDir>/server/src/index.js"
|
|
|
|
]
|
|
|
|
}
|