Carter
01/27/2024, 2:27 PMgetString()
is a suspend
fun, while stringResource()
is a @Composable
fun.
runComposeUiTest
doesn’t give us a Composable scope or a coroutine scope. So what’s the expected way to read resources in commonTest
?
Do we nest runTest
inside runComposeUiTest
?Alexander Maryanovsky
01/28/2024, 8:19 AMAlexander Maryanovsky
01/28/2024, 8:22 AMCarter
01/28/2024, 11:57 AMstringResource()
for a test assertion.
Is runBlocking
supported by all targets (e.g. JS)?Alexander Maryanovsky
01/28/2024, 6:49 PMKonstantin Tskhovrebov
01/28/2024, 9:18 PMCarter
01/28/2024, 9:19 PMrunTest
?