- Add Go, npm, Python, and Java validation to CI - Run Go tests against PostgreSQL - Record performance fixes in the report
15 lines
472 B
TypeScript
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'],
|
|
},
|
|
});
|