Procházet zdrojové kódy

Tests: Fixed test.

Szymon Cofalik před 8 roky
rodič
revize
13fc337ccc
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/ckeditor5-typing/tests/input.js

+ 1 - 1
packages/ckeditor5-typing/tests/input.js

@@ -643,7 +643,7 @@ describe( 'Input feature', () => {
 					type: 'children',
 					node: italic,
 					oldChildren: [ text ],
-					newChildren: [ new ViewElement( 'a', null, text ), new ViewText( 'x' ) ]
+					newChildren: [ new ViewElement( 'a', null, text.clone() ), new ViewText( 'x' ) ]
 				}
 			] );