Skip to content

Commit 8a69556

Browse files
author
Kent C. Dodds
committed
docs: add useful comment
1 parent 5c04d62 commit 8a69556

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ test('Fetch makes an API call and displays the greeting when load-greeting is cl
8686
// Act
8787
Simulate.click(queryByTestId('load-greeting'))
8888

89+
// let's wait for our mocked `get` request promise to resolve
8990
await flushPromises()
9091

9192
// Assert

0 commit comments

Comments
 (0)