2019-02-10 15:26:50 +03:00
|
|
|
{
|
|
|
|
"bail": true,
|
|
|
|
"verbose": true,
|
|
|
|
"notify": true,
|
|
|
|
"collectCoverage": true,
|
|
|
|
"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": [
|
|
|
|
"<rootDir>/test/unit/unit.setup.js"
|
|
|
|
],
|
2019-02-10 15:26:50 +03:00
|
|
|
"coverageDirectory": "<rootDir>/test/coverage",
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/server/src/**/*.js",
|
|
|
|
"!<rootDir>/server/src/api/**/*.js",
|
|
|
|
"!<rootDir>/server/src/middleware/**/*.js",
|
|
|
|
"!<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"
|
|
|
|
]
|
|
|
|
}
|