- Raise use-swipe-gesture mutation score to 66.13% (target 65%+) - Maintain use-reduced-motion mutation score at 76.32% (target 50%+) - Fix use-reduced-motion.ts ESLint set-state-in-effect warning - Add UJ-10 deep searcher journey (category browse → article read → content discovery) - Add 40 new test files (analytics, detail, sections, ui, lib components) - Update test-strategy-plan.md to v2.0 (sync test count to 1591) - Sync README.md with final release metrics Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
31 lines
694 B
TypeScript
31 lines
694 B
TypeScript
// @ts-nocheck
|
|
import { TestConfig } from '../types';
|
|
|
|
export const environments: Record<string, TestConfig> = {
|
|
development: {
|
|
baseURL: 'http://localhost:3000',
|
|
timeout: 5000,
|
|
retries: 3,
|
|
environment: 'development',
|
|
headless: false
|
|
},
|
|
staging: {
|
|
baseURL: 'https://staging.novalon.com',
|
|
timeout: 10000,
|
|
retries: 2,
|
|
environment: 'staging',
|
|
headless: true
|
|
},
|
|
production: {
|
|
baseURL: 'https://www.novalon.com',
|
|
timeout: 10000,
|
|
retries: 1,
|
|
environment: 'production',
|
|
headless: true
|
|
}
|
|
};
|
|
|
|
export function getEnvironmentConfig(env: string = 'development'): TestConfig {
|
|
return environments[env] ?? environments.development!;
|
|
}
|