show notebook as trusted when it belongs to a trusted book (#15093)

* check for trusted books

* don't add to trustedNotebooksMomento

* update comment

* added comments

* remove empty line
This commit is contained in:
Maddy
2021-04-15 10:30:51 -07:00
committed by GitHub
parent 4edbd6f3e7
commit bec1916c62
7 changed files with 26 additions and 5 deletions

View File

@@ -50,6 +50,7 @@ suite('MainThreadNotebook Tests', () => {
undefined,
undefined,
undefined,
undefined,
);
mockNotebookService = TypeMoq.Mock.ofInstance(notebookService);
notebookUri = URI.parse('file:/user/default/my.ipynb');