Skip to content

Commit 9f0d1bc

Browse files
committed
update 03
1 parent 2906c9e commit 9f0d1bc

File tree

5 files changed

+2363
-2177
lines changed

5 files changed

+2363
-2177
lines changed

05-testing/01-react/03-hooks/03-component-unmount/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ _./src/polling.hooks.spec.ts_
150150

151151
```
152152

153+
> [waitFor](https://testing-library.com/docs/dom-testing-library/api-async/#waitfor) default timeout is 1000ms.
154+
153155
Should call clearInterval when it unmounts the component:
154156

155157
_./src/polling.hooks.spec.ts_

0 commit comments

Comments
 (0)