- Add lint, formatting, vet, and publish workflow checks - Run Go database tests with PostgreSQL and add Java tests - Make consumer sync opt-in; update docs and Go dependency
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'],
|
|
},
|
|
});
|