monaco-editor/webpack-plugin/smoketest/index.js

5 lines
141 B
JavaScript

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