Skip to content

Commit 31c66df

Browse files
author
Kartik Raj
committed
Fix test
1 parent 041a1b7 commit 31c66df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/interpreters/activation/terminalEnvVarCollectionService.unit.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ suite('Terminal Environment Variable Collection Service', () => {
122122

123123
test('When not in experiment, do not apply activated variables to the collection and clear it instead', async () => {
124124
reset(experimentService);
125+
when(context.environmentVariableCollection).thenReturn(instance(collection));
125126
when(experimentService.inExperimentSync(TerminalEnvVarActivation.experiment)).thenReturn(false);
126127
const applyCollectionStub = sinon.stub(terminalEnvVarCollectionService, '_applyCollection');
127128
applyCollectionStub.resolves();

0 commit comments

Comments
 (0)