import { defineConfig } from 'vitest/config';

// Isolated from vite.config.ts on purpose: the unit suite covers pure
// TypeScript modules (e.g. lib/workload/sourceForms.ts), so it must NOT
// load the SvelteKit / Tailwind plugins. Keeping this config plain makes
// the suite fast and decoupled from the SvelteKit build graph.
export default defineConfig({
	test: {
		include: ['src/**/*.{test,spec}.ts'],
		environment: 'node'
	}
});
