mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
1798a478e7
Change-Id: I9dbb7094f86338ea2e725ad29f66e9e4ca2b52ed
12 lines
323 B
JavaScript
12 lines
323 B
JavaScript
module( 've.ce.Document' );
|
|
|
|
/* Tests */
|
|
|
|
test( 'selectNodes', function() {
|
|
var doc = new ve.ce.Document( new ve.dm.Document( ve.dm.example.data ) ),
|
|
cases = ve.example.getSelectNodesCases( doc );
|
|
for ( var i = 0; i < cases.length; i++ ) {
|
|
ve.example.nodeSelectionEqual( cases[i].actual, cases[i].expected );
|
|
}
|
|
} );
|