An implementation of an IZReactHook that wraps the result from @testing-library/react.

Type Parameters

  • T
  • P

Implements

Constructors

Methods

Constructors

Methods

  • Destroys the hook.

    This call is optional. Hooks will be destroyed automatically when the test framework is unmounted. This is useful for testing use cases of a hook after the parent component has been unmounted.

    Returns Promise<void>