|
|
@@ -24,7 +24,7 @@ describe( 'ClipboardObserver', () => {
|
|
|
root.appendChildren( el );
|
|
|
doc.domConverter.viewToDom( root, document, { withChildren: true, bind: true } );
|
|
|
|
|
|
- doc.selection.collapse( el );
|
|
|
+ doc.selection.setCollapsedAt( el );
|
|
|
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;
|