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>
9 lines
184 B
TypeScript
9 lines
184 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['src/**/*.test.{ts,tsx}', 'tools/**/*.test.ts'],
|
|
environment: 'node',
|
|
},
|
|
});
|