rerender method
void
rerender(
- ReactElement ui
Updates the props of the renderedElement by providing an updated ui
element.
See: testing-library.com/docs/react-testing-library/api/#rerender
Implementation
void rerender(ReactElement ui) {
_renderedElement = ui;
_jsRenderResult.rerender(ui);
}