From 0ed93e6af14c1cfe5f1b68a467f23f90358cb0df Mon Sep 17 00:00:00 2001 From: Florent Benoit Date: Sun, 2 Nov 2025 16:32:09 +0100 Subject: [PATCH] refactor(vitest.config): replace workspace by projects workspace is deprecated in v3.2 and is removed in v4 of vitest replace the usage https://vitest.dev/guide/projects.html#test-projects Signed-off-by: Florent Benoit --- vitest.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vitest.config.js b/vitest.config.js index 5427afb23f3..f338d5db81d 100644 --- a/vitest.config.js +++ b/vitest.config.js @@ -25,11 +25,11 @@ const PODMAN_DESKTOP_EXCLUDED = [ ]; /** - * vitest workspace configuration for unit tests + * vitest projects configuration for unit tests */ export default defineConfig({ test: { - workspace: [ + projects: [ '{extensions,packages,tools,storybook,website,scripts}/**/{vitest,vite}.config.{js,ts}', '!**/builtin/**', ], @@ -37,7 +37,6 @@ export default defineConfig({ reporters: process.env.CI ? [['junit', { includeConsoleOutput: false }], 'default'] : ['default'], outputFile: process.env.CI ? { junit: 'coverage/junit-results.xml' } : {}, coverage: { - all: true, clean: true, excludeAfterRemap: true, provider: 'v8',