File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ import { CopilotClient } from "../../../src";
1313import { CapiProxy } from "./CapiProxy" ;
1414import { retry } from "./sdkTestHelper" ;
1515
16- // Unfortunately the VS Code Vitest extension sets CI=true in all non-debug runs, so we have to exclude that
17- export const isCI = process . env . CI === "true" && ! process . env . VITEST_VSCODE ;
16+ export const isCI = process . env . GITHUB_ACTIONS === "true" ;
1817
1918const __filename = fileURLToPath ( import . meta. url ) ;
2019const __dirname = dirname ( __filename ) ;
Original file line number Diff line number Diff line change @@ -311,8 +311,7 @@ export class ReplayingCapiProxy extends CapturingHttpProxy {
311311
312312 // Fallback to normal proxying if no cached response found
313313 // This implicitly captures the new exchange too
314- // The VS Code Vitest extension always sets CI=true in non-debug mode, so we have to exclude that case
315- const isCI = process . env . CI === "true" && ! process . env . VITEST_VSCODE ;
314+ const isCI = process . env . GITHUB_ACTIONS === "true" ;
316315 if ( isCI ) {
317316 await exitWithNoMatchingRequestError (
318317 options ,
You can’t perform that action at this time.
0 commit comments