Skip to content

Commit

Permalink
Fixes monaco-editor nightly build (needed for verification)
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet committed Jan 23, 2024
1 parent 4fc8736 commit 94c56d4
Show file tree
Hide file tree
Showing 3 changed files with 4,146 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"jsdom": "^19.0.0",
"jsonc-parser": "^3.0.0",
"mocha": "^9.2.0",
"monaco-editor-core": "0.45.0-rc",
"monaco-editor-core": "0.46.0-dev-20240109",
"parcel": "^2.7.0",
"pin-github-action": "^1.8.0",
"playwright": "^1.32.2",
Expand Down
4 changes: 4 additions & 0 deletions test/unit/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ global.UIEvent = tmp.window.UIEvent;
global.window = {
location: {},
navigator: tmp.window.navigator,
document: {
body: tmp.window.document.body,
addEventListener: (...args) => tmp.window.document.addEventListener(...args)
},
matchMedia: function () {
return {
matches: false,
Expand Down
Loading

0 comments on commit 94c56d4

Please sign in to comment.