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
This commit is contained in:
WMDE-Fisch 2024-07-01 18:36:21 +02:00
parent b413501ab3
commit 8cfe50f8e1

View file

@ -50,12 +50,6 @@ QUnit.module( 'ext.popups#renderer', {
escape: ( str ) => str && str.replace( /'/g, '&apos;' ).replace( /</g, '&lt;' )
};
mw.track = () => {};
global.navigator = {
sendBeacon() {}
};
// Some tests below stub this function. Keep a copy so it can be restored.
this.getElementById = document.getElementById;
},