8
0
Просмотр исходного кода

Simplify code block markdown integration test.

Maciej Gołaszewski 5 лет назад
Родитель
Сommit
379449a423
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      packages/ckeditor5-code-block/tests/markdown.js

+ 1 - 5
packages/ckeditor5-code-block/tests/markdown.js

@@ -35,12 +35,8 @@ describe( 'Markdown', () => {
 			'```';
 
 		const editor = await getEditor( markdown );
-		// This is to account to the new behavior of the markdown plugin after its code revamp.
-		// This cleanup could be removed later on, once the revamp is merged.
-		let data = editor.getData();
-		data = data.replace( 'plaintext', '' );
 
-		expect( data ).to.equal( markdown );
+		expect( editor.getData() ).to.equal( markdown );
 
 		await editor.destroy();
 	} );