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

assertWidthIsEqualTo

Asserts that the layout of this node has width equal to expectedWidth.

assertWidthIsEqualTo

Source set: Common
fun SemanticsNodeInteraction.assertWidthIsEqualTo(expectedWidth: Dp): SemanticsNodeInteraction

Asserts that the layout of this node has width equal to expectedWidth.

Last updated: