You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi that seem to work when i added MainModule to the @Cmponent annotation, however the mocks from my actual test class never gets injected using this rule and instead just uses the default injected values
Can you provide more info? Do you get any error? Which test are you writing, jvm or espresso? Are you using kotlin and are you using a library to open the classes?
Hi i am getting the following error following your example
error: @Component.Builder has setters for modules or components that aren't required:
this happens when i add the following line to my component like in your example realworldappInjector project
/*used for daggerMock for instrumentalTests */
fun accountModule(accountModule: AccountModule): Builder
The text was updated successfully, but these errors were encountered: