8
0
Maciej Bukowski 7 лет назад
Родитель
Сommit
e74772fa1a
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      packages/ckeditor5-engine/tests/view/observer/selectionobserver.js

+ 0 - 4
packages/ckeditor5-engine/tests/view/observer/selectionobserver.js

@@ -250,8 +250,6 @@ describe( 'SelectionObserver', () => {
 		changeDomSelection();
 		changeDomSelection();
 
 
 		// Wait 100ms.
 		// Wait 100ms.
-		// Note that it's difficult/not possible to test lodash#debounce with sinon fake timers.
-		// See: https://github.com/lodash/lodash/issues/304
 		setTimeout( () => {
 		setTimeout( () => {
 			// Check if spy was called.
 			// Check if spy was called.
 			expect( spy.notCalled ).to.true;
 			expect( spy.notCalled ).to.true;
@@ -294,8 +292,6 @@ describe( 'SelectionObserver', () => {
 		changeDomSelection();
 		changeDomSelection();
 
 
 		// Wait 100ms.
 		// Wait 100ms.
-		// Note that it's difficult/not possible to test lodash#debounce with sinon fake timers.
-		// See: https://github.com/lodash/lodash/issues/304
 		setTimeout( () => {
 		setTimeout( () => {
 			// And destroy observer.
 			// And destroy observer.
 			selectionObserver.destroy();
 			selectionObserver.destroy();