mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
10 lines
318 B
JavaScript
10 lines
318 B
JavaScript
|
QUnit.module( 've.ui.MWTransclusionOutlineTemplateWidget' );
|
||
|
|
||
|
QUnit.test( 'Constructor', ( assert ) => {
|
||
|
const transclusion = new ve.dm.MWTransclusionModel(),
|
||
|
template = new ve.dm.MWTemplateModel( transclusion, {} ),
|
||
|
widget = new ve.ui.MWTransclusionOutlineTemplateWidget( template );
|
||
|
|
||
|
assert.ok( widget );
|
||
|
} );
|