(overrides: Partial<CiEnv> = {})
| 5 | * Keep production code using `@codebuff/common/env-ci`. |
| 6 | */ |
| 7 | export const createTestCiEnv = (overrides: Partial<CiEnv> = {}): CiEnv => ({ |
| 8 | CI: undefined, |
| 9 | GITHUB_ACTIONS: undefined, |
| 10 | RENDER: undefined, |
| 11 | IS_PULL_REQUEST: undefined, |
| 12 | CODEBUFF_GITHUB_TOKEN: undefined, |
| 13 | CODEBUFF_API_KEY: 'test-api-key', |
| 14 | ...overrides, |
| 15 | }) |