Browse Source

Tests: Updated stubs to the latest Sinon API.

Aleksander Nowodzinski 8 years ago
parent
commit
92373d9548
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-block-quote/tests/integration.js

+ 1 - 1
packages/ckeditor5-block-quote/tests/integration.js

@@ -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>' +