Hygiene: Clear global stub after the test

Bug: T160406
Change-Id: I3d8b644a3be12841ba31402fa12dd71e100dbed4
This commit is contained in:
joakin 2017-04-25 13:56:22 +02:00
parent 1a8b147f97
commit 3a39dfd07d

View file

@ -9,6 +9,9 @@ QUnit.module( 'ext.popups.preview.settingsBehavior', {
mediaWiki.Title = { newFromText: newFromText }; mediaWiki.Title = { newFromText: newFromText };
/* global Map */ this.config = new Map(); /* global Map */ this.config = new Map();
},
afterEach: function () {
mediaWiki.Title = null;
} }
} ); } );