Files
homelab-upgrade/vitest.config.ts
T
homelab-updaterandClaude Sonnet 5 43f3b38f12 test(web): render the real UI against the real server in jsdom
jsdom (dev only): the only way to exercise Preact components here without a browser. fetch is routed to Fastify inject,
EventSource is a stub the test drives. Covers the queue flow (note validation, proceed with executor, refused decision),
live refresh, runs/apps views, starting a run.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-18 23:51:19 +02:00

9 lines
184 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['src/**/*.test.{ts,tsx}', 'tools/**/*.test.ts'],
environment: 'node',
},
});