Ver código fonte

Tests: Updated stubs to the latest Sinon API.

Aleksander Nowodzinski 8 anos atrás
pai
commit
ab80f3b4a9
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/ckeditor5-enter/tests/enter.js

+ 1 - 1
packages/ckeditor5-enter/tests/enter.js

@@ -43,7 +43,7 @@ describe( 'Enter feature', () => {
 		const view = editor.editing.view;
 		const domEvt = getDomEvent();
 		const executeSpy = editor.execute = sinon.spy();
-		const scrollSpy = sinon.stub( view, 'scrollToTheSelection', () => {} );
+		const scrollSpy = sinon.stub( view, 'scrollToTheSelection' );
 
 		view.fire( 'enter', new DomEventData( editingView, domEvt ) );