From 91a45d11d411275030413bb5dff35bfe9ddf1b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mino?= Date: Sun, 22 Sep 2024 21:50:37 +0200 Subject: [PATCH] test: include coverage summary after running unit tests, and while checking global code coverage --- .nycrc.json | 2 +- vitest.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.nycrc.json b/.nycrc.json index 44345bf49f8..e655757933b 100644 --- a/.nycrc.json +++ b/.nycrc.json @@ -1,6 +1,6 @@ { "extension": [".js", ".cjs", ".mjs", ".ts", ".vue"], - "reporter": ["html", "json"], + "reporter": ["html", "json", "text-summary"], "report-dir": "target/frontend-coverage/combined", "temp-dir": "target/.nyc_output", "check-coverage": true, diff --git a/vitest.config.ts b/vitest.config.ts index 618e03cfe30..bf2159911a5 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -36,7 +36,7 @@ export default defineConfig({ all: false, provider: 'istanbul', reportsDirectory: 'target/frontend-coverage/unit-tests/', - reporter: ['html', 'json'], + reporter: ['html', 'json', 'text-summary'], }, }, });