/*! * VisualEditor DataModel MediaWiki Converter tests. * * @copyright 2011-2014 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ QUnit.module( 've.dm.MWConverter' ); /* Tests */ QUnit.test( 'getModelFromDom', function ( assert ) { ve.test.utils.runGetModelFromDomTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) ); } ); QUnit.test( 'getDomFromModel', function ( assert ) { ve.test.utils.runGetDomFromModelTests( assert, ve.copy( ve.dm.mwExample.domToDataCases ) ); } );