1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-24 17:23:23 +03:00
leon/test/unit/unit.jest.json

30 lines
838 B
JSON

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