From 5a39828bf5c40671a1a4df1b1ba0650d9b242a26 Mon Sep 17 00:00:00 2001 From: Steven Hugg Date: Mon, 24 Jan 2022 16:56:44 -0600 Subject: [PATCH] fixed tests --- electron.diff | 8 ++++---- electron.html | 27 ++++++++++++++++++++++++++- meta/electron.diff | 37 ++++--------------------------------- test/cli/workertestutils.js | 1 + 4 files changed, 35 insertions(+), 38 deletions(-) diff --git a/electron.diff b/electron.diff index 8089334b..c77010f5 100644 --- a/electron.diff +++ b/electron.diff @@ -39,13 +39,13 @@ - - - - + + + + diff --git a/meta/electron.diff b/meta/electron.diff index c0b706c9..abbca21d 100644 --- a/meta/electron.diff +++ b/meta/electron.diff @@ -1,5 +1,5 @@ ---- index.html 2021-08-06 18:05:46.000000000 -0500 -+++ electron.html 2021-08-09 12:01:41.000000000 -0500 +--- index.html 2022-01-22 20:17:39.000000000 -0600 ++++ electron.html 2022-01-24 15:54:13.000000000 -0600 @@ -3,18 +3,7 @@ @@ -92,7 +92,7 @@ -@@ -277,24 +214,21 @@ +@@ -279,24 +216,21 @@
-@@ -449,73 +383,6 @@ +@@ -451,73 +385,6 @@ @@ -193,32 +193,3 @@ -@@ -564,28 +431,5 @@ - }); - - -- -- -- -- - - diff --git a/test/cli/workertestutils.js b/test/cli/workertestutils.js index 12762a7c..565f1dc6 100644 --- a/test/cli/workertestutils.js +++ b/test/cli/workertestutils.js @@ -16,6 +16,7 @@ global.path = require('path'); global.btoa = require('btoa'); global.atob = require('atob'); global.navigator = global; // for mousetrap :P +global.ResizeObserver = class { observe() { } } global.includeInThisContext = function(path) { var code = fs.readFileSync(path);