Skip to content

Commit 2262aed

Browse files
author
Kartik Raj
committed
Fix unit tests
1 parent 617014c commit 2262aed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/client/common/experiments/helpers.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
import { env, workspace } from 'vscode';
77
import { IExperimentService } from '../types';
88
import { TerminalEnvVarActivation } from './groups';
9+
import { isTestExecution } from '../constants';
910

1011
export function inTerminalEnvVarExperiment(experimentService: IExperimentService): boolean {
11-
if (workspace.workspaceFile && env.remoteName) {
12+
if (!isTestExecution() && workspace.workspaceFile && env.remoteName) {
1213
// TODO: Remove this if statement once https://github.com/microsoft/vscode/issues/180486 is fixed.
1314
return false;
1415
}

0 commit comments

Comments
 (0)