Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Aug 18, 2023
1 parent 041a1b7 commit 31c66df
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ suite('Terminal Environment Variable Collection Service', () => {

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

0 comments on commit 31c66df

Please sign in to comment.