29 lines
608 B
TypeScript
29 lines
608 B
TypeScript
// tests/api/config.ts
|
|
|
|
export const config = {
|
|
// API Configuration
|
|
baseURL: process.env.API_BASE_URL || 'http://localhost:3000',
|
|
apiKey: process.env.API_KEY || 'bnt_test_key_change_me',
|
|
|
|
// Paths
|
|
resultsDir: '../../results',
|
|
fixturesDir: './fixtures',
|
|
|
|
// Timeouts
|
|
requestTimeout: 30000,
|
|
generationTimeout: 60000,
|
|
|
|
// Test settings
|
|
verbose: true,
|
|
saveImages: true,
|
|
cleanupOnSuccess: false,
|
|
};
|
|
|
|
export const endpoints = {
|
|
generations: '/api/v1/generations',
|
|
images: '/api/v1/images',
|
|
flows: '/api/v1/flows',
|
|
live: '/api/v1/live',
|
|
analytics: '/api/v1/analytics',
|
|
};
|