Function: cleanup()
cleanup():
void
Defined in: cleanup.ts:66
Tear down every fixture mounted by render() since the last cleanup.
For each fixture this synchronously calls disconnect() on all controllers render() registered (via application.unload()), removes the fixture's DOM nodes, and stops the application if render() created it (a BYO options.application keeps running). Disconnects are synchronous on purpose: happy-dom delivers MutationObserver callbacks asynchronously, so waiting for node-removal observation would let disconnect() (and any resource cleanup inside it) silently never run.
Returns
void