Replies: 1 comment 3 replies
-
Paparazzi is replacing the stubbed APIs with real ones via layoutlib and it doesn't support this particular API that the Compose runtime uses. Seems like a Paparazzi feature request is in order. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not really sure whether it's a Molecule or a Paparazzi issue, or something else entirely, so starting a discussion first before filing an issue. Chose to start a discussion on this project cause the issue I'm seeing manifests in the Molecule code.
I set up a test project that includes a simple
@Composable
presenter and unit tests for it, the tests launch the presenter usingCoroutineScope.launchMolecule
and use Turbine to test it. You can check that the tests pass by running./gradlew lib:tDUT
.But if I simply add the Paparazzi plugin to the same module, tests start failing with the following error:
Full stack trace
Not really sure what's going on. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions