Piotrek Koszuliński před 7 roky
rodič
revize
1fbc23d954
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      packages/ckeditor5-heading/tests/integration.js

+ 2 - 0
packages/ckeditor5-heading/tests/integration.js

@@ -92,6 +92,7 @@ describe( 'Heading integration', () => {
 
 	describe( 'with the undo feature', () => {
 		it( 'does not create undo steps when applied to an existing heading (collapsed selection)', () => {
+			// Ensure no undo step by using a transparent batch.
 			model.enqueueChange( 'transparent', () => {
 				setModelData( model, '<heading1>foo[]bar</heading1>' );
 			} );
@@ -103,6 +104,7 @@ describe( 'Heading integration', () => {
 		} );
 
 		it( 'does not create undo steps when applied to an existing heading (non–collapsed selection)', () => {
+			// Ensure no undo step by using a transparent batch.
 			model.enqueueChange( 'transparent', () => {
 				setModelData( model, '<heading1>[foo</heading1><heading1>bar]</heading1>' );
 			} );