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:
Terry Jia
2025-09-02 23:57:43 -04:00
committed by GitHub
parent 66a76c0ee0
commit 65b6b27831
4 changed files with 320 additions and 4 deletions

View 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
}
})