Alex Vanyo
01/29/2024, 10:18 PM1.7.0-alpha01
, DeviceConfigurationOverride
!
It allows locally overriding pieces of device configuration for tests in normal @Composable
code, like available layout size, locale, font size, dark mode, and layout direction. These are otherwise fairly painful to test since they need to be done at a system-wide level.
Happy to hear if that will be useful for you, or any other feedback you have!