mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-29 17:02:28 +00:00
Merge pull request #1214 from PR0M3TH3AN/fix-popover-test-reference-error-1181338534566980395
Fix ReferenceError in position-floating-panel tests
This commit is contained in:
1 file changed
+1
@@ -75,6 +75,7 @@ beforeEach(async () => {
|
||||
global.HTMLElement = windowRef.HTMLElement;
|
||||
global.Element = windowRef.Element;
|
||||
global.Node = windowRef.Node;
|
||||
global.HTMLStyleElement = windowRef.HTMLStyleElement;
|
||||
global.getComputedStyle = windowRef.getComputedStyle.bind(windowRef);
|
||||
global.ResizeObserver = StubObserver;
|
||||
if (!global.PointerEvent) {
|
||||
|
||||
Reference in new issue
Block a user