'use strict'; const abuseLog = require( 'ext.checkUser.tempAccounts/AbuseLog.js' ); let server; QUnit.module( 'ext.checkUser.tempAccounts.AbuseLog', QUnit.newMwEnvironment( { beforeEach: function () { this.server = this.sandbox.useFakeServer(); this.server.respondImmediately = true; server = this.server; }, afterEach: function () { server.restore(); } } ) ); QUnit.test( 'Test for an empty Special:AbuseLog page', ( assert ) => { mw.storage.remove( 'mw-checkuser-temp-~1' ); // eslint-disable-next-line no-jquery/no-global-selector const $qunitFixture = $( '#qunit-fixture' ); const $wrapper = $( '