import { defineConfig } from 'vitest/config';

import { jsdomProject, nodeProject } from '@spoon/vitest-config';

export default defineConfig({
  test: {
    projects: [
      nodeProject('unit', ['tests/unit/**/*.test.{ts,tsx}']),
      nodeProject('integration', ['tests/integration/**/*.test.{ts,tsx}']),
      jsdomProject('component', ['tests/component/**/*.test.{ts,tsx}']),
    ],
  },
});
