From 8cfe50f8e153d588a4e36699c0559ab515084775 Mon Sep 17 00:00:00 2001 From: WMDE-Fisch Date: Mon, 1 Jul 2024 18:36:21 +0200 Subject: [PATCH] Remove Qunit test leftovers from ReferencePreviews I just found these while fixing tests in Cite. The lines were added with the ReferencePreviews tests back in the days. Need to be removed here. See I2638611ba67b785338f7e98a1c4b08a5e829812d Change-Id: I650317de4a1d8ec916c52c6c619b3a623a2f217b --- tests/node-qunit/ui/renderer.test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/node-qunit/ui/renderer.test.js b/tests/node-qunit/ui/renderer.test.js index 7170682e7..091711f6f 100644 --- a/tests/node-qunit/ui/renderer.test.js +++ b/tests/node-qunit/ui/renderer.test.js @@ -50,12 +50,6 @@ QUnit.module( 'ext.popups#renderer', { escape: ( str ) => str && str.replace( /'/g, ''' ).replace( / {}; - - global.navigator = { - sendBeacon() {} - }; - // Some tests below stub this function. Keep a copy so it can be restored. this.getElementById = document.getElementById; },