mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 19:09:29 +00:00
f6953d4096
This is just the smallest possible boilerplate to get the first trivial test running. More test cases will be added in the following patches. Bug: T289560 Change-Id: I3a4e49a7b9761db00b211e933386bad71d4f0942
10 lines
306 B
JavaScript
10 lines
306 B
JavaScript
QUnit.module( 've.ui.MWTransclusionOutlinePartWidget' );
|
|
|
|
QUnit.test( 'Constructor', ( assert ) => {
|
|
const transclusion = new ve.dm.MWTransclusionModel(),
|
|
part = new ve.dm.MWTransclusionPartModel( transclusion ),
|
|
widget = new ve.ui.MWTransclusionOutlinePartWidget( part );
|
|
|
|
assert.ok( widget );
|
|
} );
|