Piotrek Koszuliński пре 9 година
родитељ
комит
cd42c9c18e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-list/tests/listcommand.js

+ 1 - 1
packages/ckeditor5-list/tests/listcommand.js

@@ -109,7 +109,7 @@ describe( 'ListCommand', () => {
 	describe( '_doExecute', () => {
 		describe( 'custom options', () => {
 			it( 'should use provided batch', () => {
-				const batch = command.editor.document.batch();
+				const batch = editor.document.batch();
 
 				expect( batch.deltas.length ).to.equal( 0 );