8
0
Pārlūkot izejas kodu

Tests: Updated stubs to the latest Sinon API.

Aleksander Nowodzinski 8 gadi atpakaļ
vecāks
revīzija
6acefd8450
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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' );
 			} );
 	} );