ThemedComposeRule

constructor(theme: (content: () -> Unit) -> Unit, delegate: ComposeContentTestRule = createComposeRule())(source)

Parameters

theme

Wraps test content, for example in the app theme or a dark-mode variant.

delegate

The rule to wrap; defaults to createComposeRule().