Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-05-11 13:22:46 +0300
committerVincent Petry <vincent@nextcloud.com>2021-05-11 13:23:05 +0300
commitac9477f9e863bc57c73e530b428fc4960685fb68 (patch)
treec328884b9ec64d63e0aa0709150d01fdd8f21263 /jest.config.js
parent5b4e1a7a2bd355a4380bd93cbded3fa0d7e7a311 (diff)
Output jest coverage to console
Add config option for Jest to scan all source files when reporting coverage. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index b98e9334e..8caefe709 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -30,6 +30,9 @@ module.exports = {
'<rootDir>/src/test-setup.js',
'jest-mock-console/dist/setupTestFramework.js',
],
+ collectCoverageFrom: [
+ '<rootDir>/src/**/*.{js,vue}',
+ ],
transform: {
// process `*.js` files with `babel-jest`
'.*\\.(js)$': 'babel-jest',