Skip to content

A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.

418 B
Raw Blame
/**
 * This file runs BEFORE the test framework is installed (via setupFiles in jest.config.ts).
 * It sets required environment variables so that ConfigService doesn't call process.exit(1)
 * when it's transitively imported by test modules.
 */
process.env.NODE_ENV = 'test';
process.env.ENCRYPTION_KEY = 'test-encryption-key-min12';
process.env.USER_NAME = 'testuser';
process.env.USER_PASSWORD = 'testpassword123';