Skip to content

Commit

Permalink
Fix test clearTimeout blur
Browse files Browse the repository at this point in the history
  • Loading branch information
bartpeeters authored and Bart Peeters committed Jan 20, 2018
1 parent 3156e3d commit 89b3a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/daypickerinput/rendering.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('DayPickerInput', () => {
mount(<DayPickerInput />, { attachTo: container });
const spy = jest.spyOn(window, 'clearTimeout');
ReactDOM.unmountComponentAtNode(container);
expect(spy).toHaveBeenCalledTimes(3);
expect(spy).toHaveBeenCalledTimes(2);
spy.mockRestore();
});
it('should set today when clicking on today button', () => {
Expand Down

0 comments on commit 89b3a1a

Please sign in to comment.