import { defineWorkspace } from 'vitest/config';

export default defineWorkspace([
  'src/shared',
  'src/db',
  'src/cli',
  'src/mcpd',
  'src/mcplocal',
  // src/web has its own vite.config.ts with `environment: 'jsdom'` —
  // listing it here makes the workspace runner pick that up so the
  // browser-y tests get the right globals (localStorage, document).
  'src/web',
]);
