setRootAndSizeSpecSync

fun setRootAndSizeSpecSync(component: Component?, widthSpec: Int, heightSpec: Int): LegacyLithoTestRule

Sets the new root Component with new size spec to render.