Jelajahi Sumber

Tests: fixed tc names.

Piotrek Koszuliński 9 tahun lalu
induk
melakukan
7ce5a9e7ed

+ 1 - 1
packages/ckeditor5-paragraph/tests/paragraph-intergration.js

@@ -95,7 +95,7 @@ describe( 'Paragraph feature – integration', () => {
 		} );
 		} );
 
 
 		// See 'should convert ul>li>ul>li+li (in clipboard holder)' in clipboard.js.
 		// See 'should convert ul>li>ul>li+li (in clipboard holder)' in clipboard.js.
-		it( 'pastes ul>li>p,text', () => {
+		it( 'pastes ul>li>ul>li+li', () => {
 			return VirtualTestEditor.create( {
 			return VirtualTestEditor.create( {
 					plugins: [ Paragraph, Clipboard ]
 					plugins: [ Paragraph, Clipboard ]
 				} )
 				} )

+ 2 - 2
packages/ckeditor5-paragraph/tests/paragraph.js

@@ -100,14 +100,14 @@ describe( 'Paragraph feature', () => {
 					.to.equal( '<heading1>foo</heading1><paragraph>bar</paragraph><paragraph>bom</paragraph>' );
 					.to.equal( '<heading1>foo</heading1><paragraph>bar</paragraph><paragraph>bom</paragraph>' );
 			} );
 			} );
 
 
-			it( 'should autoparagraph 3 inline inline nodes into one paragraph', () => {
+			it( 'should autoparagraph 3 inline nodes into one paragraph', () => {
 				const modelFragment = editor.data.parse( 'foo<b>bar</b>bom' );
 				const modelFragment = editor.data.parse( 'foo<b>bar</b>bom' );
 
 
 				expect( stringifyModel( modelFragment ) )
 				expect( stringifyModel( modelFragment ) )
 					.to.equal( '<paragraph>foobarbom</paragraph>' );
 					.to.equal( '<paragraph>foobarbom</paragraph>' );
 			} );
 			} );
 
 
-			it( 'should not autoparagraph 3 inline inline nodes (in clipboardHolder)', () => {
+			it( 'should not autoparagraph 3 inline nodes (in clipboardHolder)', () => {
 				const modelFragment = editor.data.parse( 'foo<b>bar</b>bom', '$clipboardHolder' );
 				const modelFragment = editor.data.parse( 'foo<b>bar</b>bom', '$clipboardHolder' );
 
 
 				expect( stringifyModel( modelFragment ) )
 				expect( stringifyModel( modelFragment ) )