From fd6ad5e7b1d17cb208961c7e7e69c8a8f2b16b17 Mon Sep 17 00:00:00 2001 From: Yusuke Wada Date: Thu, 6 Jun 2024 22:25:38 +0900 Subject: [PATCH] chore: add `text` and `html` for coverage reporter (#2923) --- vitest.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vitest.config.ts b/vitest.config.ts index b8e1e64b9..cef5c75ec 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -15,7 +15,7 @@ export default defineConfig({ enabled: true, provider: 'v8', reportsDirectory: './coverage/raw/default', - reporter: ['json'], + reporter: ['json', 'text', 'html'], exclude: [ ...(configDefaults.coverage.exclude ?? []), 'benchmarks', @@ -27,7 +27,7 @@ export default defineConfig({ 'src/**/types.ts', 'src/jsx/intrinsic-elements.ts', 'src/utils/http-status.ts', - ] + ], }, pool: 'forks', },