Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed Mar 7, 2022
1 parent 0ac18c2 commit 7a41768
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { IInterpreterService } from '../../../../client/interpreter/contracts';
import { MockOutputChannel } from '../../../mockClasses';
import { createPythonInterpreter } from '../../../utils/interpreters';
import { JupyterPaths } from '../../../../client/datascience/kernel-launcher/jupyterPaths';
import { EXTENSION_ROOT_DIR_FOR_TESTS } from '../../../constants';
use(chaiPromise);

/* eslint-disable */
Expand Down Expand Up @@ -68,6 +69,9 @@ suite('DataScience - Jupyter InterpreterSubCommandExecutionService', () => {
out: new Subject<Output<string>>().asObservable()
};
const jupyterPaths = mock<JupyterPaths>();
when(jupyterPaths.getKernelSpecTempRegistrationFolder()).thenResolve(
path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'temp', 'jupyter', 'kernels')
);
jupyterInterpreterExecutionService = new JupyterInterpreterSubCommandExecutionService(
instance(jupyterInterpreter),
instance(interpreterService),
Expand Down

0 comments on commit 7a41768

Please sign in to comment.