Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

unregisterIdlingResource

Attempts to unregister an IdlingResource in this test.

unregisterIdlingResource

Source set: Common
@ExperimentalTestApi
fun ComposeUiTest.unregisterIdlingResource(idlingResource: IdlingResource): Boolean

Attempts to unregister an IdlingResource in this test.

This implementation checks isIdlingResourceSupported before attempting to unregister the resource.

Returns

true if the idling resource was successfully unregistered, or false if the implementation does not support idling resources.

Last updated: