diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-10 01:54:45 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-01-10 11:09:08 +0100 |
commit | 6615ab950b8ea776b69a776266f8a8cc9e8713a0 (patch) | |
tree | ff7bd97f8117a4a26882b4414ea1e99c404a3074 /jest.config.js | |
parent | build: Add pre-commit hook (diff) | |
download | sophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.tar.gz sophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.tar.zst sophie-6615ab950b8ea776b69a776266f8a8cc9e8713a0.zip |
ci: Export test and coverage report
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jest.config.js b/jest.config.js index 174322a..b9a4ccf 100644 --- a/jest.config.js +++ b/jest.config.js | |||
@@ -1,7 +1,9 @@ | |||
1 | /** @type {import('@jest/types').Config.InitialOptions} */ | 1 | /** @type {import('@jest/types').Config.InitialOptions} */ |
2 | export default { | 2 | export default { |
3 | projects: ['<rootDir>/packages/*'], | 3 | projects: ['<rootDir>/packages/*'], |
4 | /** @type {'babel' | 'v8'} */ | ||
5 | coverageProvider: 'v8', | ||
6 | collectCoverageFrom: ['src/**/*.{ts,tsx}'], | 4 | collectCoverageFrom: ['src/**/*.{ts,tsx}'], |
5 | /** @type {'v8'} */ | ||
6 | coverageProvider: 'v8', | ||
7 | /** @type {['cobertura', 'text']} */ | ||
8 | coverageReporters: ['cobertura', 'text'], | ||
7 | }; | 9 | }; |