We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4285cc9 + 1281681 commit 197da77Copy full SHA for 197da77
molecule/molecule-testing/src/main/kotlin/app/cash/molecule/testing/moleculeTesting.kt
@@ -52,6 +52,11 @@ fun <T> testMolecule(
52
) = testMolecule(body, timeoutMs.milliseconds, validate)
53
54
@ExperimentalCoroutinesApi
55
+@Deprecated(
56
+ """Use moleculeFlow or launchMolecule with an 'Immediate' clock and then use Turbine to test.
57
+
58
+If you believe this is insufficient please let us know at https://github.com/cashapp/molecule/issues/97.""",
59
+)
60
fun <T> testMolecule(
61
body: @Composable () -> T,
62
timeout: Duration = 1.seconds,
0 commit comments