1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-24 09:12:20 +03:00
leon/test/unit/unit.jest.json
2019-02-24 17:44:10 +08:00

29 lines
814 B
JSON

{
"bail": true,
"verbose": true,
"notify": true,
"collectCoverage": true,
"rootDir": "../..",
"testMatch": [
"<rootDir>/test/unit/**/*.spec.js"
],
"setupFiles": [
"<rootDir>/test/paths.setup.js"
],
"setupFilesAfterEnv": [
"<rootDir>/test/unit/unit.setup.js"
],
"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"
]
}