import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    // jsdom so the React/Svelte hook tests have a DOM; the core
    // endpoint/subscribe/auth tests are environment-agnostic.
    environment: 'jsdom',
    globals: true,
    include: ['tests/**/*.test.ts', 'tests/**/*.test.tsx']
  }
});
