From b99be156ad359c8b8dd7f71bd23bb52f9360dab4 Mon Sep 17 00:00:00 2001 From: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com> Date: Tue, 10 Aug 2021 15:16:02 -0700 Subject: [PATCH] set book as untrusted before running test (#16677) --- extensions/notebook/src/test/book/bookTrustManager.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/notebook/src/test/book/bookTrustManager.test.ts b/extensions/notebook/src/test/book/bookTrustManager.test.ts index 34301be3f4..f02e5ae54a 100644 --- a/extensions/notebook/src/test/book/bookTrustManager.test.ts +++ b/extensions/notebook/src/test/book/bookTrustManager.test.ts @@ -353,7 +353,9 @@ describe('BookTrustManagerTests', function () { should(isNotebookTrusted).be.false('Notebook not should be trusted'); }); - it('should trust notebook after book has been added to a folder @UNSTABLE@', async () => { + it('should trust notebook after book has been added to a folder', async () => { + //Set book as not trusted before running test + bookTrustManager.setBookAsTrusted('/temp/SubFolder2/', false); let notebookUri = run.book2.notebook1; let isNotebookTrustedBeforeChange = bookTrustManager.isNotebookTrustedByDefault(notebookUri);