From 8161061d07ece564ad4335e3222180fce3196c6b Mon Sep 17 00:00:00 2001 From: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com> Date: Thu, 2 Sep 2021 11:36:25 -0700 Subject: [PATCH] mark test as stable again (#16949) --- extensions/notebook/src/test/book/book.test.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extensions/notebook/src/test/book/book.test.ts b/extensions/notebook/src/test/book/book.test.ts index d47bf772d8..2227b513f9 100644 --- a/extensions/notebook/src/test/book/book.test.ts +++ b/extensions/notebook/src/test/book/book.test.ts @@ -777,7 +777,7 @@ describe('BooksTreeViewTests', function () { should(showPreviewSpy.calledOnce).be.true('Should have called showPreviewFile.'); }); - it('should add book when bookPath contains special characters on openBook @UNSTABLE@', async () => { + it('should add book when bookPath contains special characters on openBook', async () => { let rootFolderPath2 = path.join(os.tmpdir(), `BookTestData(1)_${uuid.v4()}`); let dataFolderPath2 = path.join(rootFolderPath2, '_data'); let contentFolderPath2 = path.join(rootFolderPath2, 'content'); @@ -846,8 +846,7 @@ describe('BooksTreeViewTests', function () { }); it('should remove book on closeBook', async () => { - await bookTreeViewProvider.openBook(rootFolderPath, undefined, true); - should(bookTreeViewProvider.books.length).equal(1, 'Failed to initialize the book on open'); + await bookTreeViewProvider.openBook(rootFolderPath); let length: number = bookTreeViewProvider.books.length; await bookTreeViewProvider.closeBook(bookTreeViewProvider.books[0].bookItems[0]); should(bookTreeViewProvider.books.length).equal(length - 1, 'Failed to remove the book on close');