Skip to content

API Reference / @gtkx/testing / cleanup

Variable: cleanup

const cleanup: () => Promise<void>

Defined in: render.d.ts:18

Unmounts every active render and runs all registered cleanup callbacks, resetting the screen and clipboard. Called automatically after each test.

Returns

Promise<void>

Released under the MPL-2.0 License.