UNPKG

@testing-library/react-hooks

Version:

Simple and complete React hooks testing utilities that encourage good testing practices.

4 lines (3 loc) 171 B
declare function resolveAfter(ms: number): Promise<void>; declare function callAfter(callback: () => void, ms: number): Promise<void>; export { resolveAfter, callAfter };