Merge "Fix test module copypasta"

This commit is contained in:
jenkins-bot 2020-03-31 12:01:00 +00:00 committed by Gerrit Code Review
commit 435ffab0a1
5 changed files with 5 additions and 5 deletions

View file

@ -5,7 +5,7 @@
RevisionList = mw.libs.revisionSlider.RevisionList,
Revision = mw.libs.revisionSlider.Revision;
QUnit.module( 'ext.RevisionSlider.Slider' );
QUnit.module( 'ext.RevisionSlider.DiffPage' );
QUnit.test( 'Initialize DiffPage', function ( assert ) {
assert.ok( ( new DiffPage() ) );

View file

@ -1,7 +1,7 @@
( function () {
var PointerView = mw.libs.revisionSlider.PointerView;
QUnit.module( 'ext.RevisionSlider.Pointer' );
QUnit.module( 'ext.RevisionSlider.PointerView' );
QUnit.test( 'Initialize PointerView', function ( assert ) {
assert.ok( ( new PointerView( null, 'mw-revslider-pointer' ) ).render().hasClass( 'mw-revslider-pointer' ) );

View file

@ -1,7 +1,7 @@
( function () {
var Revision = mw.libs.revisionSlider.Revision;
QUnit.module( 'ext.RevisionSlider.RevisionList' );
QUnit.module( 'ext.RevisionSlider.Revision' );
QUnit.test( 'create Revision', function ( assert ) {
var data = {

View file

@ -3,7 +3,7 @@
RevisionList = mw.libs.revisionSlider.RevisionList,
Revision = mw.libs.revisionSlider.Revision;
QUnit.module( 'ext.RevisionSlider.RevisionList' );
QUnit.module( 'ext.RevisionSlider.RevisionListView' );
QUnit.test( 'render adds revisions', function ( assert ) {
var revisionListView = new RevisionListView( new RevisionList( [

View file

@ -5,7 +5,7 @@
Revision = mw.libs.revisionSlider.Revision,
startHistoryState, startHref;
QUnit.module( 'ext.RevisionSlider.Slider' );
QUnit.module( 'ext.RevisionSlider.SliderView' );
QUnit.testStart( function () {
startHistoryState = history.state;