浏览代码

Comments.

Piotrek Koszuliński 7 年之前
父节点
当前提交
1fbc23d954
共有 1 个文件被更改,包括 2 次插入0 次删除
  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>' );
 			} );