mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
feat(testing): enhance test configuration and add Vue component tests
- Update package.json test script to run both JS and Vue tests - Simplify LoraCyclerLM output by removing redundant lora name fallback - Extend Vitest config to include TypeScript test files - Add Vue testing dependencies and setup for component testing - Implement comprehensive test suite for BatchQueueSimulator component - Add test setup file with global mocks for ComfyUI modules
This commit is contained in:
@@ -6,7 +6,8 @@ export default defineConfig({
|
||||
globals: true,
|
||||
setupFiles: ['tests/frontend/setup.js'],
|
||||
include: [
|
||||
'tests/frontend/**/*.test.js'
|
||||
'tests/frontend/**/*.test.js',
|
||||
'tests/frontend/**/*.test.ts'
|
||||
],
|
||||
coverage: {
|
||||
enabled: process.env.VITEST_COVERAGE === 'true',
|
||||
|
||||
Reference in New Issue
Block a user