React Testing Library · Function
act
act is a small wrapper around React's act function. It forwards the call when the installed React version supports act.
Last updated
Syntax
act(callback)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
renderrenderHookfireEventuserEvent