import { defineConfig } from 'vitest/config';

export default defineConfig({
  test: {
    globals: true,
    environment: 'node',
    include: ['src/**/*.test.ts'],
    pool: 'forks',
    env: {
      DB_PROVIDER: 'memory',
      RATE_LIMIT_STORE_MODE: 'memory',
      COSMOS_ENDPOINT: 'https://test.documents.azure.com:443/',
      COSMOS_KEY: 'dGVzdC1rZXktZm9yLXZpdGVzdC1vbmx5',
      JWT_SECRET: 'vitest-only-not-for-production',
    },
  },
});
