Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Removed notes about sinon.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Aug 29, 2018
1 parent 6ea6f09 commit 20a19a5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/view/observer/selectionobserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ describe( 'SelectionObserver', () => {
changeDomSelection();

// 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( () => {
// Check if spy was called.
expect( spy.notCalled ).to.true;
Expand Down Expand Up @@ -294,8 +292,6 @@ describe( 'SelectionObserver', () => {
changeDomSelection();

// 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( () => {
// And destroy observer.
selectionObserver.destroy();
Expand Down

0 comments on commit 20a19a5

Please sign in to comment.