8
0
Piotrek Koszuliński 9 лет назад
Родитель
Сommit
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( '_doExecute', () => {
 		describe( 'custom options', () => {
 		describe( 'custom options', () => {
 			it( 'should use provided batch', () => {
 			it( 'should use provided batch', () => {
-				const batch = command.editor.document.batch();
+				const batch = editor.document.batch();
 
 
 				expect( batch.deltas.length ).to.equal( 0 );
 				expect( batch.deltas.length ).to.equal( 0 );