From 0ebd9505ba6d7fdaaf1e7b26b875edea4cada670 Mon Sep 17 00:00:00 2001 From: Alain Olivier Date: Tue, 11 Jul 2023 17:09:18 +0200 Subject: [PATCH] chore(vite): run tests in single thread mode This avoids a segmentation fault when executing tests. Refs: https://github.com/vitest-dev/vitest/issues/3143 --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index acaa1aca..47170ff3 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,5 +33,6 @@ export default defineConfig(() => ({ globals: true, environment: 'jsdom', setupFiles: './src/test.setup.js', + threads: false, }, }))