mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
19 lines
536 B
JavaScript
19 lines
536 B
JavaScript
|
/*!
|
||
|
* VisualEditor DataModel MediaWiki Converter tests.
|
||
|
*
|
||
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
QUnit.module( 've.dm.MWConverter' );
|
||
|
|
||
|
/* Tests */
|
||
|
|
||
|
QUnit.test( 'getDataFromDom', function ( assert ) {
|
||
|
ve.test.runGetDataFromDomTests( assert, ve.copyObject( ve.dm.mwExample.domToDataCases ) );
|
||
|
} );
|
||
|
|
||
|
QUnit.test( 'getDomFromData', function ( assert ) {
|
||
|
ve.test.runGetDomFromDataTests( assert, ve.copyObject( ve.dm.mwExample.domToDataCases ) );
|
||
|
} );
|