From c9330941c8bad6add1c95bb69099c39606151abd Mon Sep 17 00:00:00 2001 From: Marcin Kulpa Date: Mon, 17 Feb 2025 05:34:34 +0100 Subject: [PATCH] chore: use github test reporter on CI and fix TS error (#3015) --- vitest.config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vitest.config.mts b/vitest.config.mts index f842619583..cf89edb2c9 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -16,12 +16,13 @@ export default defineConfig({ globals: true, environment: 'jsdom', dir: 'tests', - reporters: 'basic', + reporters: process.env.GITHUB_ACTIONS ? ['default', 'github-actions'] : ['default'], setupFiles: ['tests/setup.ts'], coverage: { include: ['src/**/'], reporter: ['text', 'json', 'html', 'text-summary'], reportsDirectory: './coverage/', + provider: 'v8', }, }, })