import path from 'path';
import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    include: ['src/**/*.integration.spec.ts'],
    testTimeout: 30_000,
  },
  resolve: {
    alias: {
      '@modules': path.resolve(__dirname, 'src/modules'),
    },
  },
});
