1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 22:31:32 +03:00
leon/test/unit/unit.jest.json
2022-02-03 19:37:56 +08:00

31 lines
895 B
JSON

{
"bail": true,
"verbose": true,
"notify": false,
"collectCoverage": true,
"rootDir": "../..",
"testMatch": [
"<rootDir>/test/unit/**/*.spec.js"
],
"setupFiles": [
"jest-canvas-mock",
"<rootDir>/test/paths.setup.js"
],
"setupFilesAfterEnv": [
"jest-extended/all",
"<rootDir>/test/unit/unit.setup.js"
],
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"<rootDir>/server/src/**/*.js",
"!<rootDir>/server/src/core/http-server/api/**/*.js",
"!<rootDir>/server/src/core/http-server/plugins/**/*.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"
]
}