/** * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import { testDataProcessor } from '../_utils/utils'; describe( 'GFMDataProcessor', () => { describe( 'paragraphs', () => { it( 'single line', () => { testDataProcessor( 'single line paragraph', '
single line paragraph
' ); } ); it( 'multiline', () => { testDataProcessor( 'first\n' + 'second\n' + 'third', // GitHub is rendering as: //first
// second
// third
first
second
third
single line
// //single line
single line
// ////'quote
//
single line
', 'single line' + '\n' + '\n> quote' ); } ); it( 'with list after', () => { testDataProcessor( 'single line\n' + '* item', // GitHub is rendering as: //quote
single line
// //single line