diff --git a/packages/ckeditor5-code-block/tests/codeblockediting.js b/packages/ckeditor5-code-block/tests/codeblockediting.js index 573f1231360..bd7b3096780 100644 --- a/packages/ckeditor5-code-block/tests/codeblockediting.js +++ b/packages/ckeditor5-code-block/tests/codeblockediting.js @@ -1682,7 +1682,7 @@ describe( 'CodeBlockEditing', () => { '[]o' + '' ); - sinon.assert.calledOnce( dataTransferMock.getData ); + sinon.assert.calledTwice( dataTransferMock.getData ); // Make sure that ClipboardPipeline was not interrupted. sinon.assert.calledOnce( contentInsertionSpy ); @@ -1723,7 +1723,7 @@ describe( 'CodeBlockEditing', () => { 'bar' ); - sinon.assert.calledOnce( dataTransferMock.getData ); + sinon.assert.calledTwice( dataTransferMock.getData ); // Make sure that ClipboardPipeline was not interrupted. sinon.assert.calledOnce( contentInsertionSpy );