Skip to content

Commit f1342eb

Browse files
committed
expose monaco for testing
1 parent b2f2627 commit f1342eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/sandcastle/src/SandcastleEditor.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ function SandcastleEditor({
196196

197197
setupSandcastleSnippets(monaco);
198198
setTypes(monaco);
199+
// TODO: remove this!
200+
window.monaco = monaco;
199201
}
200202

201203
async function setTypes(monaco: Monaco) {

0 commit comments

Comments
 (0)