Skip to content

Commit

Permalink
test: add some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultboursier committed Sep 17, 2020
1 parent 122d932 commit b1911c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/useTimer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ describe('Advance time', () => {
jest.advanceTimersByTime(5000);
});

// When
fireEvent.click(getByTestId('advanceTime'));

// Then
Expand Down Expand Up @@ -478,6 +479,7 @@ describe('Advance time', () => {
jest.advanceTimersByTime(10000);
});

// When
fireEvent.click(getByTestId('advanceTime'));

act(() => {
Expand Down

0 comments on commit b1911c4

Please sign in to comment.