mediawiki-extensions-Visual.../modules/ve-mw/tests/ui/widgets/ve.ui.MWTransclusionOutlineButtonWidget.test.js

9 lines
317 B
JavaScript
Raw Normal View History

QUnit.module( 've.ui.MWTransclusionOutlineButtonWidget' );
QUnit.test( 'Constructor', ( assert ) => {
const widget = new ve.ui.MWTransclusionOutlineButtonWidget( {} );
// eslint-disable-next-line no-jquery/no-class-state
assert.true( widget.$element.hasClass( 've-ui-mwTransclusionOutlineButtonWidget' ) );
} );