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

10 lines
337 B
JavaScript
Raw Normal View History

QUnit.module( 've.ui.MWTransclusionOutlinePlaceholderWidget' );
QUnit.test( 'Constructor', ( assert ) => {
const transclusion = new ve.dm.MWTransclusionModel(),
placeholder = new ve.dm.MWTemplatePlaceholderModel( transclusion ),
widget = new ve.ui.MWTransclusionOutlinePlaceholderWidget( placeholder );
assert.ok( widget );
} );