mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-18 09:40:49 +00:00
b02028b671
It's just hard to find and confusing when hidden in that sub-directory. Bug: T358851 Change-Id: I19ffe73b79fa9add52af12f477afe7abbc6db836
10 lines
372 B
JavaScript
10 lines
372 B
JavaScript
'use strict';
|
|
|
|
QUnit.module( 've.ui.MWReferenceResultWidget (Cite)', ve.test.utils.newMwEnvironment() );
|
|
|
|
QUnit.test( 'Initialization', function ( assert ) {
|
|
const widget = new ve.ui.MWReferenceResultWidget();
|
|
assert.true( widget instanceof OO.ui.OptionWidget );
|
|
assert.strictEqual( widget.$element.children( '.ve-ui-mwReferenceResultWidget-shield' ).length, 1 );
|
|
} );
|