Skip to content

Commit 6dc0cb4

Browse files
author
Kartik Raj
committed
Fix test
1 parent 82d08ae commit 6dc0cb4

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
@@ -124,6 +124,7 @@ suite('Terminal Environment Variable Collection Service', () => {
124124

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

0 commit comments

Comments
 (0)