diff --git a/packages/ckeditor5-clipboard/tests/dragdropblocktoolbar.js b/packages/ckeditor5-clipboard/tests/dragdropblocktoolbar.js index 1ad54ee94ef..5fc26d69c89 100644 --- a/packages/ckeditor5-clipboard/tests/dragdropblocktoolbar.js +++ b/packages/ckeditor5-clipboard/tests/dragdropblocktoolbar.js @@ -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; } ); @@ -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', () => {