Skip to content

Commit

Permalink
Fix incorrect stub value (#15660)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne committed May 3, 2024
1 parent d3dc06f commit b7555cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/datascience/jupyter/connection.vscode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ suite('Connect to Remote Jupyter Servers @mandatory', function () {
return new Disposable(noop);
});
sinon.stub(inputBox, 'onDidHide').callsFake(() => new Disposable(noop));
sinon.stub(commands, 'registerCommand').resolves();
sinon.stub(commands, 'registerCommand').returns({ dispose: noop });
token = new CancellationTokenSource();
disposables.push(new Disposable(() => token.cancel()));
disposables.push(token);
Expand Down

0 comments on commit b7555cf

Please sign in to comment.