1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-21 07:41:39 +03:00
leon/test/unit/unit.jest.json

27 lines
897 B
JSON
Raw Normal View History

2019-02-10 15:26:50 +03:00
{
"bail": true,
"verbose": true,
2021-03-21 10:09:18 +03:00
"notify": false,
2019-02-10 15:26:50 +03:00
"collectCoverage": true,
"resetMocks": true,
2019-02-10 15:26:50 +03:00
"rootDir": "../..",
2022-09-03 14:12:41 +03:00
"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"
],
2019-02-10 15:26:50 +03:00
"coverageDirectory": "<rootDir>/test/coverage",
"collectCoverageFrom": [
"<rootDir>/server/src/**/*.js",
2022-02-03 14:37:56 +03:00
"!<rootDir>/server/src/core/http-server/api/**/*.js",
"!<rootDir>/server/src/core/http-server/plugins/**/*.js",
2019-02-10 15:26:50 +03:00
"!<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"
]
}