Files
bifrost/tests/e2e/features/governance/governance.data.ts
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

20 lines
556 B
TypeScript

import { CustomerConfig, TeamConfig } from './pages/governance.page'
export function createTeamData(overrides: Partial<TeamConfig> = {}): TeamConfig {
const timestamp = Date.now()
return {
name: `E2E Team ${timestamp}`,
budget: { maxLimit: 100, resetDuration: '1M' },
...overrides,
}
}
export function createCustomerData(overrides: Partial<CustomerConfig> = {}): CustomerConfig {
const timestamp = Date.now()
return {
name: `E2E Customer ${timestamp}`,
budget: { maxLimit: 50, resetDuration: '1d' },
...overrides,
}
}