Files
shared/packages/web-ui/vitest.config.ts
T
Gabriel20xx 22887fef03 ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI
- Run Go tests against PostgreSQL
- Record performance fixes in the report
2026-10-19 21:14:31 +00:00

15 lines
472 B
TypeScript

import { svelte } from '@sveltejs/vite-plugin-svelte';
import { svelteTesting } from '@testing-library/svelte/vite';
import { defineConfig } from 'vitest/config';
// Component and store tests run in jsdom. They live in tests/, outside src/lib, so svelte-package
// never ships them.
export default defineConfig({
plugins: [svelte(), svelteTesting()],
test: {
environment: 'jsdom',
include: ['tests/**/*.test.ts'],
setupFiles: ['tests/setup.ts'],
},
});