Explorar o código

Minor simplification.

Piotrek Koszuliński %!s(int64=9) %!d(string=hai) anos
pai
achega
cd42c9c18e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 );