mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
Cleanup: Remove test block from vite.config.ts since we already have a vitest.config.ts (#7873)
## 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)
This commit is contained in:
@@ -482,12 +482,6 @@ export default defineConfig({
|
|||||||
: []
|
: []
|
||||||
},
|
},
|
||||||
|
|
||||||
test: {
|
|
||||||
globals: true,
|
|
||||||
environment: 'happy-dom',
|
|
||||||
setupFiles: ['./vitest.setup.ts']
|
|
||||||
},
|
|
||||||
|
|
||||||
define: {
|
define: {
|
||||||
__COMFYUI_FRONTEND_VERSION__: JSON.stringify(
|
__COMFYUI_FRONTEND_VERSION__: JSON.stringify(
|
||||||
process.env.npm_package_version
|
process.env.npm_package_version
|
||||||
|
|||||||
Reference in New Issue
Block a user