mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add abillity to open to specific item within a Jupyter book (#7155)
* Add abillity to open to specific item within a Jupyter book * Move helper method into BookTreeItem class * Fix default URL path * Add typing to Jupyter book code * Update comment and typings * Fix compile error and cleanup
This commit is contained in:
@@ -285,7 +285,7 @@ describe.skip('BookTreeViewProviderTests', function() {
|
||||
|
||||
it('should show error if notebook or markdown file is missing', function(): void {
|
||||
let books = bookTreeViewProvider.getBooks();
|
||||
let children = bookTreeViewProvider.getSections([], books[0].sections, rootFolderPath);
|
||||
let children = bookTreeViewProvider.getSections({ sections: [] }, books[0].sections, rootFolderPath);
|
||||
should(bookTreeViewProvider.errorMessage).equal('Missing file : Notebook1');
|
||||
// Rest of book should be detected correctly even with a missing file
|
||||
equalBookItems(children[0], expectedNotebook2);
|
||||
|
||||
Reference in New Issue
Block a user