diff --git a/tests/__tests__/stopwatch.js b/tests/__tests__/stopwatch.js index 857f795c..c6699c1c 100644 --- a/tests/__tests__/stopwatch.js +++ b/tests/__tests__/stopwatch.js @@ -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') })