mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
add litegraph test config (#5310)
* add litegraph test config * remove unnecessary setup file * exclude litegraph test config * add npm script
This commit is contained in:
18
vitest.litegraph.config.ts
Normal file
18
vitest.litegraph.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [],
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
include: ['src/lib/litegraph/test/**/*.test.ts']
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': '/src'
|
||||
}
|
||||
},
|
||||
define: {
|
||||
__USE_PROD_CONFIG__: false
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user