import { defineConfig } from 'vitest/config'

/**
 * Run only integration tests (start real server, assert ports).
 * Usage: npm run test:integration
 */
export default defineConfig({
  test: {
    include: ['test/integration/**/*.spec.js'],
    exclude: ['**/node_modules/**'],
    environment: 'node',
    testTimeout: 120000,
    hookTimeout: 100000,
  },
})
