mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 03:58:33 -05:00
Update run w/parameters icon and increment parameterized notebook (#15127)
* update icon and increment parameterized notebook
This commit is contained in:
@@ -561,6 +561,14 @@ suite.skip('NotebookService:', function (): void {
|
||||
mock.verifyAll();
|
||||
|
||||
});
|
||||
|
||||
test('verify getUntitledUriPath gets the proper next title', () => {
|
||||
let getUntitledUriPathSpy = sinon.spy(notebookService, 'getUntitledUriPath');
|
||||
notebookService.getUntitledUriPath('title.ipynb');
|
||||
sinon.assert.calledOnce(getUntitledUriPathSpy);
|
||||
assert.equal(getUntitledUriPathSpy, 'title-0.ipynb');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
function unRegisterProviders(notebookService: NotebookService) {
|
||||
|
||||
Reference in New Issue
Block a user