Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | /** * Test setup and configuration * Loaded before all tests */ import { beforeAll, afterAll, afterEach } from 'vitest'; // Set test environment variables process.env.NODE_ENV = 'test'; // Global test timeout (can be overridden per test) beforeAll(() => { // Any global setup }); afterAll(() => { // Any global cleanup }); afterEach(() => { // Reset any test state after each test }); // Export test utilities export const TEST_CONFIG = { SERVICE_URL: 'http://localhost', SERVICE_PORT: 8000, HEALTH_CHECK_TIMEOUT: 5000, SYNTHESIS_TIMEOUT: 30000, }; |