// Vitest config — stamps the env vars that the manager systemd unit
// stamps in production. Tests that exercise `spawnClaudeSession` end up
// in `writePerSpawnMcpConfig` → `buildMcpPlaceholders`, which loud-fails
// if `PLATFORM_PORT` or `MAXY_BRAND_PORT` is absent (Task 142). The
// dedicated `pty-spawner-placeholder-port.test.ts` exercises the
// loud-fail branches directly with explicit env arguments.

import { defineConfig } from 'vitest/config'

export default defineConfig({
  test: {
    setupFiles: ['./src/__tests__/helpers/env-setup.ts'],
  },
})
