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

Commit

Permalink
Merge branch t/ckeditor5-engine/1308
Browse files Browse the repository at this point in the history
Internal: Align code to the selection API, introduced in engine t/1308.
  • Loading branch information
Piotr Jasiun committed Mar 6, 2018
2 parents 132d53a + f091c21 commit 6d7fa67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/clipboardobserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe( 'ClipboardObserver', () => {
root.appendChildren( el );
view.domConverter.viewToDom( root, document, { withChildren: true, bind: true } );

doc.selection._setTo( el );
doc.selection._setTo( el, 0 );
range = new Range( new Position( root, 1 ) );
// Just making sure that the following tests will check anything.
expect( range.isEqual( doc.selection.getFirstRange() ) ).to.be.false;
Expand Down

0 comments on commit 6d7fa67

Please sign in to comment.