Snapshots are not generated for Android Views that are annotated with Dagger's @AndroidEntryPoint
#1249
Labels
bug
Something isn't working
@AndroidEntryPoint
#1249
Description
We are working on creating a snapshot test for an Android View with injected dependencies via Dagger/Hilt, but are running into an issue when generating the snapshot if a view is annotated with
@AndroidEntryPoint
.Steps to Reproduce
The following gives an example of the error and setup.
Exception
Example Code
Example of View:
Example of Test:
Expected behavior
Snapshots generate and tests pass.
Actual Behavior
Snapshots only generate and tests pass when commenting out the injected
val
s and@AndroidEntryPoint
i.e.Additional information:
The text was updated successfully, but these errors were encountered: