We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c945118 commit 82801f0Copy full SHA for 82801f0
cli/src/__tests__/e2e/cli-ui.test.ts
@@ -84,10 +84,9 @@ async function launchCLIWithoutAuth(options: {
84
}): Promise<Awaited<ReturnType<typeof launchTerminal>>> {
85
const { args = [], cols = 120, rows = 30 } = options
86
// Remove authentication-related env vars to trigger login flow
87
- const { CODEBUFF_API_KEY, CODEBUFF_TOKEN, ...envWithoutAuth } = {
88
- ...process.env,
89
- ...cliEnv,
90
- }
+ const envWithoutAuth = { ...process.env, ...cliEnv }
+ delete (envWithoutAuth as Record<string, unknown>).CODEBUFF_API_KEY
+ delete (envWithoutAuth as Record<string, unknown>).CODEBUFF_TOKEN
91
92
const session = await launchTerminal({
93
command: 'bun',
0 commit comments