Skip to content

Commit 5e6bbb9

Browse files
author
Kartik Raj
committed
Fix single workspace test
1 parent 138f4f4 commit 5e6bbb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/common/installer.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ import { MockModuleInstaller } from '../mocks/moduleInstaller';
100100
import { MockProcessService } from '../mocks/proc';
101101
import { UnitTestIocContainer } from '../testing/serviceRegistry';
102102
import { closeActiveWindows, initializeTest, IS_MULTI_ROOT_TEST, TEST_TIMEOUT } from '../initialize';
103+
import { IActivatedEnvironmentLaunch } from '../../client/interpreter/contracts';
104+
import { ActivatedEnvironmentLaunch } from '../../client/interpreter/virtualEnvs/activatedEnvLaunch';
103105

104106
suite('Installer', () => {
105107
let ioc: UnitTestIocContainer;
@@ -169,6 +171,10 @@ suite('Installer', () => {
169171
TestFrameworkProductPathService,
170172
ProductType.TestFramework,
171173
);
174+
ioc.serviceManager.addSingleton<IActivatedEnvironmentLaunch>(
175+
IActivatedEnvironmentLaunch,
176+
ActivatedEnvironmentLaunch,
177+
);
172178
ioc.serviceManager.addSingleton<IActiveResourceService>(IActiveResourceService, ActiveResourceService);
173179
ioc.serviceManager.addSingleton<IInterpreterPathService>(IInterpreterPathService, InterpreterPathService);
174180
ioc.serviceManager.addSingleton<IExtensions>(IExtensions, Extensions);

0 commit comments

Comments
 (0)