Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge 7820470 into bf90b19
Browse files Browse the repository at this point in the history
  • Loading branch information
f1ames committed Feb 14, 2019
2 parents bf90b19 + 7820470 commit 876d194
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/bogusbr-integration.js
Expand Up @@ -64,7 +64,7 @@ describe( 'Typing – bogus BR integration', () => {
} );

editor.model.document.once( 'change', () => {
expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' );
expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' );
done();
}, { priority: 'low' } );

Expand All @@ -82,7 +82,7 @@ describe( 'Typing – bogus BR integration', () => {
} );

editor.model.document.once( 'change', () => {
expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' );
expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' );
done();
}, { priority: 'low' } );

Expand Down
4 changes: 2 additions & 2 deletions tests/tickets/59.js
Expand Up @@ -44,7 +44,7 @@ describe( 'Bug ckeditor5-typing#59', () => {
editor.execute( 'delete' );
}

expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' );
expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' );
} );

// This is something that came to my mind after I worked on ckeditor/ckeditor5-engine#659.
Expand All @@ -60,6 +60,6 @@ describe( 'Bug ckeditor5-typing#59', () => {
editor.execute( 'bold' );
}

expect( editor.getData() ).to.equal( '<p>&nbsp;</p>' );
expect( editor.getData( { trim: 'none' } ) ).to.equal( '<p>&nbsp;</p>' );
} );
} );

0 comments on commit 876d194

Please sign in to comment.