mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-22 11:32:38 +00:00
5a2154de38
Change-Id: I8d96b69e8c15bc8ad84cfb0c511396e5b3e7ac20
10 lines
366 B
JavaScript
10 lines
366 B
JavaScript
'use strict';
|
|
|
|
QUnit.module( 've.ui.MWReferenceResultWidget (Cite)', ve.test.utils.newMwEnvironment() );
|
|
|
|
QUnit.test( 'Initialization', ( 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 );
|
|
} );
|