🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
interval
will now default to 50ms in async utilstimeout
will now default to 1000ms in async utilssuppressErrors
has been removed from async utilsrenderHook
and act
from @testing-library/react-hooks
will now auto-detect which renderer to used based on the project's dependencies
peerDependencies
are now optional to support different dependencies being requiredresult.current
and result.error
will now return undefined
instead of null
when the hook call suspends and they are accessed prior to being set for the first time
3.6.0
interval
will now default to 50ms in async utilstimeout
will now default to 1000ms in async utilssuppressErrors
has been removed from async utils