Skip to content

Commit

Permalink
Test fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
niegowski committed Sep 26, 2023
1 parent a089144 commit dae7824
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/ckeditor5-clipboard/tests/dragdropblocktoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ describe( 'Drag and Drop Block Toolbar', () => {
const modelSelection = model.document.selection;
const { focus, anchor } = modelSelection;

expect( focus.path ).to.have.same.members( [ 0, 6 ] );
expect( anchor.path ).to.have.same.members( [ 0, 0 ] );
expect( focus.path ).to.deep.equal( [ 0, 6 ] );
expect( anchor.path ).to.deep.equal( [ 0, 0 ] );
expect( dragDropBlockToolbar._isBlockDragging ).to.be.true;
} );

Expand All @@ -140,8 +140,8 @@ describe( 'Drag and Drop Block Toolbar', () => {
const modelSelection = model.document.selection;
const { focus, anchor } = modelSelection;

expect( focus.path ).to.have.same.members( [ 0, 3 ] );
expect( anchor.path ).to.have.same.members( [ 0, 0 ] );
expect( focus.path ).to.deep.equal( [ 0, 3 ] );
expect( anchor.path ).to.deep.equal( [ 0, 0 ] );
} );

it( 'should display dragging marker', () => {
Expand Down

0 comments on commit dae7824

Please sign in to comment.