import { defineConfig } from 'vitest/config';

import { convexProject, nodeProject } from '@gib/vitest-config';

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