Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Oct 31, 2024
1 parent 6730ad3 commit e9d92b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/api.functional.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ suite('Extension API', () => {
onDidChangePythonEnvironment: onDidChangePythonEnvironment.event,
getPythonEnvironment: (_uri: Uri) => undefined,
};
when(serviceContainer.get<JupyterPythonEnvironmentApi>(JupyterExtensionPythonEnvironments)).thenReturn(jupyterApi);
when(serviceContainer.get<JupyterPythonEnvironmentApi>(JupyterExtensionPythonEnvironments)).thenReturn(
jupyterApi,
);
when(serviceContainer.get<IDisposableRegistry>(IDisposableRegistry)).thenReturn([]);
getDebugpyPathStub = sinon.stub(pythonDebugger, 'getDebugpyPath');
getDebugpyPathStub.resolves(debuggerPath);
Expand Down

0 comments on commit e9d92b5

Please sign in to comment.