Procházet zdrojové kódy

Tests: Updated stubs to the latest Sinon API.

Aleksander Nowodzinski před 8 roky
rodič
revize
6acefd8450
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/ckeditor5-clipboard/tests/clipboard.js

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

@@ -37,7 +37,7 @@ describe( 'Clipboard feature', () => {
 
 				// VirtualTestEditor has no DOM, so this method must be stubbed for all tests.
 				// Otherwise it will throw as it accesses the DOM to do its job.
-				scrollSpy = sinon.stub( editingView, 'scrollToTheSelection', () => {} );
+				scrollSpy = sinon.stub( editingView, 'scrollToTheSelection' );
 			} );
 	} );