From b4b985be3002a5c901c57d2dc6a07c2927daec06 Mon Sep 17 00:00:00 2001 From: George Oastler Date: Wed, 31 Jan 2024 09:55:02 +0000 Subject: [PATCH] remove process.exit call from VitePluginCloseAndCopy which is making vitest always exit successfully, irrelevant of test status --- dev/config/src/vite/vite-plugin-close-and-copy.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/dev/config/src/vite/vite-plugin-close-and-copy.ts b/dev/config/src/vite/vite-plugin-close-and-copy.ts index 832ff08c70..6cdf280930 100644 --- a/dev/config/src/vite/vite-plugin-close-and-copy.ts +++ b/dev/config/src/vite/vite-plugin-close-and-copy.ts @@ -36,7 +36,6 @@ export default function VitePluginCloseAndCopy(options?: ClosePluginOptions): Pl log.info(`Bundle copied to ${options.destDir}`) } log.info('Bundle closed') - process.exit(0) }, } }