Skip to content

@continuum-js/test


@continuum-js/test / render

Function: render() ​

render(view): RenderResult

Defined in: index.ts:22

Mount view into a fresh container appended to document.body (so focus and event bubbling behave like in a real page). Dispose manually, or let cleanup() collect everything at the end of the test.

Parameters ​

view ​

() => Child

Returns ​

RenderResult