From dae7824fdb096957ae4db031fd9c5ee75f732618 Mon Sep 17 00:00:00 2001 From: Kuba Niegowski Date: Tue, 26 Sep 2023 12:00:55 +0200 Subject: [PATCH] Test fixes. --- .../ckeditor5-clipboard/tests/dragdropblocktoolbar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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', () => {