Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: Updated stubs to the latest Sinon API.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed Aug 10, 2017
1 parent 9a3cf99 commit 4e1f5f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ describe( 'BlockQuote', () => {
it( 'scrolls the view document to the selection after the command is executed', () => {
const data = fakeEventData();
const execSpy = sinon.spy( editor, 'execute' );
const scrollSpy = sinon.stub( editor.editing.view, 'scrollToTheSelection', () => {} );
const scrollSpy = sinon.stub( editor.editing.view, 'scrollToTheSelection' );

setModelData( doc,
'<paragraph>x</paragraph>' +
Expand Down

0 comments on commit 4e1f5f6

Please sign in to comment.