mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-05 22:22:54 +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 ) );
|
||
|
} );
|