TestRedwoodComposition

Properties

Link copied to clipboard
abstract val uiConfigurations: MutableStateFlow<UiConfiguration>

The mutable UiConfiguration instance bound to UiConfiguration.current inside the composition.

Functions

Link copied to clipboard
abstract suspend fun awaitSnapshot(timeout: Duration = 1.seconds): S

Returns a snapshot, waiting if necessary for changes to occur since the previous snapshot.

Link copied to clipboard
abstract fun cancel()
Link copied to clipboard
abstract fun saveState(): TestSavedState
Link copied to clipboard
abstract fun setContent(content: () -> Unit)