Browse Source

Tests: Updated stubs to the latest Sinon API.

Aleksander Nowodzinski 8 years ago
parent
commit
54794b7a23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-typing/tests/delete.js

+ 1 - 1
packages/ckeditor5-typing/tests/delete.js

@@ -53,7 +53,7 @@ describe( 'Delete feature', () => {
 	} );
 
 	it( 'scrolls the editing document to the selection after executing the command', () => {
-		const scrollSpy = sinon.stub( editingView, 'scrollToTheSelection', () => {} );
+		const scrollSpy = sinon.stub( editingView, 'scrollToTheSelection' );
 		const executeSpy = editor.execute = sinon.spy();
 
 		editingView.fire( 'delete', new DomEventData( editingView, getDomEvent(), {