unmount

abstract external var unmount: () -> Unit(source)

Unmounts the test component. This is useful for when you need to test any cleanup your useEffects have.