Skip to content

Commit

Permalink
Fix stopwatch test
Browse files Browse the repository at this point in the history
  • Loading branch information
dfcook committed Mar 23, 2019
1 parent a4a59ec commit 94d2b38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/__tests__/stopwatch.js
Expand Up @@ -24,6 +24,7 @@ test('updates component state', async () => {
expect(elapsedTime).toHaveTextContent('0ms')

await fireEvent.click(startButton)

await fireEvent.click(startButton)

expect(elapsedTime).not.toHaveTextContent('0ms')
})

0 comments on commit 94d2b38

Please sign in to comment.