Skip to content

Commit

Permalink
Adjust tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mati365 committed Jan 2, 2025
1 parent ea06ead commit 8b2a1ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ckeditor5-code-block/tests/codeblockediting.js
Original file line number Diff line number Diff line change
Expand Up @@ -1682,7 +1682,7 @@ describe( 'CodeBlockEditing', () => {
'[]o' +
'</codeBlock>' );

sinon.assert.calledOnce( dataTransferMock.getData );
sinon.assert.calledTwice( dataTransferMock.getData );

// Make sure that ClipboardPipeline was not interrupted.
sinon.assert.calledOnce( contentInsertionSpy );
Expand Down Expand Up @@ -1723,7 +1723,7 @@ describe( 'CodeBlockEditing', () => {
'<paragraph>bar</paragraph>'
);

sinon.assert.calledOnce( dataTransferMock.getData );
sinon.assert.calledTwice( dataTransferMock.getData );

// Make sure that ClipboardPipeline was not interrupted.
sinon.assert.calledOnce( contentInsertionSpy );
Expand Down

0 comments on commit 8b2a1ac

Please sign in to comment.