1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-18 14:21:32 +03:00
leon/test/unit/unit.jest.json
2021-03-22 20:23:23 +01:00

30 lines
836 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": [
"<rootDir>/test/unit/unit.setup.js"
],
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"<rootDir>/server/src/**/*.js",
"!<rootDir>/server/src/api/**/*.js",
"!<rootDir>/server/src/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"
]
}