Home > @lynx-js/react/testing-library > RenderResult

RenderResult type

The result of render()

Signature:

export type RenderResult<Q extends Queries = typeof queries> = {
  container: LynxElement;
  rerender: (ui: ComponentChild) => void;
  unmount: () => boolean;
} & { [P in keyof Q]: BoundFunction<Q[P]> };
ON THIS PAGE
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.