mediawiki-extensions-Cite/modules/ve-cite/tests/ve.ui.MWCitationDialogTool.test.js
thiemowmde d6a58cfa8d Add initial QUnit tests relevant for reference re-use in VE
Note these are more meant as regression test to better cover what's
done in other patches. Everybody should feel free to delete a test
when it gets in the way. I marked a few especially fragile places
with respective comments.

Bug: T358652
Change-Id: I7844907fe3ef4f3439717381b4ecdac9e2d0a825
2024-03-21 09:37:26 +01:00

9 lines
283 B
JavaScript

'use strict';
QUnit.module( 've.ui.MWCitationDialogTool (Cite)', ve.test.utils.newMwEnvironment() );
QUnit.test( 'isCompatibleWith', function ( assert ) {
const model = new ve.dm.MWReferenceNode();
assert.true( ve.ui.MWCitationDialogTool.static.isCompatibleWith( model ) );
} );