Fixes nightly release

This commit is contained in:
Henning Dieterichs 2022-01-24 11:49:42 +01:00
parent f50e0abe46
commit 2a243d07fe
No known key found for this signature in database
GPG key ID: 771381EFFDB9EC06
5 changed files with 408 additions and 371 deletions

View file

@ -21,13 +21,14 @@ global.self = global;
global.document.queryCommandSupported = function () {
return false;
};
global.window = {
location: {},
navigator: tmp.window.navigator,
matchMedia: function () {
return {
matches: false,
addListener: function () {}
addEventListener: function () {}
};
}
};