Explorar el Código

Tests: Fixed test.

Szymon Cofalik hace 8 años
padre
commit
13fc337ccc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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' ) ]
 				}
 			] );