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

Function createTestSdkEnv

sdk/src/testing/env.ts:8–21  ·  view source on GitHub ↗
(
  overrides: Partial<SdkEnv> = {},
)

Source from the content-addressed store, hash-verified

6 * Test-only SDK env builder.
7 */
8export const createTestSdkEnv = (
9 overrides: Partial<SdkEnv> = {},
10): SdkEnv => ({
11 ...createTestBaseEnv(),
12
13 // SDK-specific defaults
14 CODEBUFF_RG_PATH: undefined,
15 CODEBUFF_WASM_DIR: undefined,
16 VERBOSE: undefined,
17 OVERRIDE_TARGET: undefined,
18 OVERRIDE_PLATFORM: undefined,
19 OVERRIDE_ARCH: undefined,
20 ...overrides,
21})

Callers 1

env.test.tsFile · 0.90

Calls 1

createTestBaseEnvFunction · 0.90

Tested by

no test coverage detected