import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    // Use happy-dom to avoid jsdom's heavy dependency chain and ESM/CJS edge cases.
    // This package only needs a minimal DOM + localStorage for unit tests.
    environment: 'happy-dom',
    pool: 'forks',
  },
});
