From a85edad0180e81999c616a6a4e3fd35cf6eb1118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Austin=20John=20Mayer=20=28=E4=BA=95=E4=B8=8A=20=E3=82=AA?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E3=83=86=E3=82=A3=E3=83=B3=29?= <95405354+tronicboy1@users.noreply.github.com> Date: Tue, 11 Apr 2023 17:10:03 +0900 Subject: [PATCH] add CustomEvent to test global --- test/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/helpers.ts b/test/helpers.ts index 1ea0b19880..dc0cdc693a 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -61,6 +61,7 @@ global.navigator = window.navigator; global.getComputedStyle = window.getComputedStyle; global.requestAnimationFrame = null; // placeholder, filled in using set_raf global.window = window; +global.CustomEvent = window.CustomEvent; // add missing ecmascript globals to window for (const key of Object.getOwnPropertyNames(global)) {