MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / createTestCiEnv

Function createTestCiEnv

common/src/testing-env-ci.ts:7–15  ·  view source on GitHub ↗
(overrides: Partial<CiEnv> = {})

Source from the content-addressed store, hash-verified

5 * Keep production code using `@codebuff/common/env-ci`.
6 */
7export 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})

Callers 1

env-ci.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected