Files
novalon-manage-system/uat-tests/config/uat-config.ts
T

16 lines
447 B
TypeScript

export interface UATConfig {
baseURL: string;
apiURL: string;
timeout: number;
retryCount: number;
testDataPath: string;
}
export const uatConfig: UATConfig = {
baseURL: process.env.TEST_BASE_URL || 'http://localhost:3001',
apiURL: process.env.API_BASE_URL || 'http://localhost:8080',
timeout: parseInt(process.env.TEST_TIMEOUT || '30000'),
retryCount: parseInt(process.env.TEST_RETRY_COUNT || '2'),
testDataPath: './data'
};