import * as monaco from 'monaco-editor'; // expose the monaco API as a global for tests window.monacoAPI = monaco;