mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 15:16:50 +00:00
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:
parent
b413501ab3
commit
8cfe50f8e1
|
@ -50,12 +50,6 @@ QUnit.module( 'ext.popups#renderer', {
|
|||
escape: ( str ) => str && str.replace( /'/g, ''' ).replace( /</g, '<' )
|
||||
};
|
||||
|
||||
mw.track = () => {};
|
||||
|
||||
global.navigator = {
|
||||
sendBeacon() {}
|
||||
};
|
||||
|
||||
// Some tests below stub this function. Keep a copy so it can be restored.
|
||||
this.getElementById = document.getElementById;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue