added notebook output renderer tests

This commit is contained in:
aamunger
2023-03-16 12:07:47 -07:00
parent 7c1b8f38a4
commit 11c5e141ab
11 changed files with 757 additions and 56 deletions

View File

@@ -0,0 +1,10 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export const ttPolicy = (typeof window !== 'undefined') ?
window.trustedTypes?.createPolicy('notebookRenderer', {
createHTML: value => value,
createScript: value => value,
}) : undefined;