@@ -19,7 +19,11 @@ import { ServiceManager } from '../client/ioc/serviceManager';
1919import { IServiceContainer , IServiceManager } from '../client/ioc/types' ;
2020import { IDiscoveryAPI } from '../client/pythonEnvironments/base/locator' ;
2121import * as pythonDebugger from '../client/debugger/pythonDebugger' ;
22- import { JupyterExtensionPythonEnvironments , JupyterPythonEnvironmentApi } from '../client/jupyter/jupyterIntegration' ;
22+ import {
23+ JupyterExtensionIntegration ,
24+ JupyterExtensionPythonEnvironments ,
25+ JupyterPythonEnvironmentApi ,
26+ } from '../client/jupyter/jupyterIntegration' ;
2327import { EventEmitter , Uri } from 'vscode' ;
2428
2529suite ( 'Extension API' , ( ) => {
@@ -50,6 +54,9 @@ suite('Extension API', () => {
5054 when ( serviceContainer . get < IEnvironmentVariablesProvider > ( IEnvironmentVariablesProvider ) ) . thenReturn (
5155 instance ( environmentVariablesProvider ) ,
5256 ) ;
57+ when ( serviceContainer . get < JupyterExtensionIntegration > ( JupyterExtensionIntegration ) ) . thenReturn (
58+ instance ( mock < JupyterExtensionIntegration > ( ) ) ,
59+ ) ;
5360 when ( serviceContainer . get < IInterpreterService > ( IInterpreterService ) ) . thenReturn ( instance ( interpreterService ) ) ;
5461 const onDidChangePythonEnvironment = new EventEmitter < Uri > ( ) ;
5562 const jupyterApi : JupyterPythonEnvironmentApi = {
0 commit comments