From b6a12ddae1d05febd405fe7abb4c4ef97343bba9 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Wed, 7 Jan 2026 13:07:05 -0800 Subject: [PATCH] Cleanup: Remove test block from vite.config.ts since we already have a vitest.config.ts (#7873) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Just removing the extra configuration. https://vitest.dev/config/ We _could_ go the other direction and move the vitest configuration options into the main vite config file. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7873-Cleanup-Remove-test-block-from-vite-config-ts-since-we-already-have-a-vitest-config-ts-2e16d73d3650819ea07bd3bf3416bf11) by [Unito](https://www.unito.io) --- vite.config.mts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vite.config.mts b/vite.config.mts index 7ad4dea5a..e5f070726 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -482,12 +482,6 @@ export default defineConfig({ : [] }, - test: { - globals: true, - environment: 'happy-dom', - setupFiles: ['./vitest.setup.ts'] - }, - define: { __COMFYUI_FRONTEND_VERSION__: JSON.stringify( process.env.npm_package_version