withThrowOnErrorHandler

Creates a ComponentTree that will propagate exceptions.

val componentTree = LithoTestRule.withThrowOnErrorHandler()
val lithoView = LithoTestRule.render(componentTree = componentTree)