molecule-testing
0.4.0
molecule-testing
/
app.cash.molecule.testing
/
testMolecule
test
Molecule
@
ExperimentalCoroutinesApi
fun
<
T
>
testMolecule
(
body
:
@
Composable
(
)
->
T
,
timeoutMs
:
Long
,
validate
:
suspend
MoleculeTurbine
<
T
>
.
(
)
->
Unit
)
Content copied to clipboard
@
ExperimentalCoroutinesApi
fun
<
T
>
testMolecule
(
body
:
@
Composable
(
)
->
T
,
timeout
:
Duration
=
1.seconds
,
validate
:
suspend
MoleculeTurbine
<
T
>
.
(
)
->
Unit
)
Content copied to clipboard