Files

10 lines
475 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { config as dotenv } from 'dotenv';
import { join } from 'node:path';
// Загружаем корневой .env для e2e-тестов.
dotenv({ path: join(__dirname, '..', '..', '..', '.env') });
// В e2e ускоряем delay очереди до 300мс (иначе тест M6 не дождётся 24 ч).
// override=true потому что .env может уже содержать прод-значение.
process.env.CONSENT_REVOKE_DELAY_MS = '300';