mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
feat(tests): add frontend automated testing setup with Vitest and jsdom
This commit is contained in:
17
vitest.config.js
Normal file
17
vitest.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
globals: true,
|
||||
setupFiles: ['tests/frontend/setup.js'],
|
||||
include: [
|
||||
'static/js/**/*.test.js',
|
||||
'tests/frontend/**/*.test.js'
|
||||
],
|
||||
coverage: {
|
||||
enabled: false,
|
||||
reportsDirectory: 'coverage/frontend'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user