Files
ComfyUI_frontend/vitest.config.ts
2024-12-30 17:26:37 -05:00

21 lines
423 B
TypeScript

import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vitest/config'
export default defineConfig({
plugins: [vue()],
test: {
globals: true,
environment: 'happy-dom',
setupFiles: ['./vitest.setup.ts'],
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
coverage: {
reporter: ['text', 'json', 'html']
}
},
resolve: {
alias: {
'@': '/src'
}
}
})