Skip to content

API Reference / @gtkx/testing / cleanup

Variable: cleanup

const cleanup: () => Promise<void>

Defined in: packages/testing/dist/render.d.ts:29

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.