I am using getIt with injectable for dependency injection.
I have some mocks created with mockito that I am trying to inject as a substitute for my actual repository, but when I run the build runner, they are not showing up in the generated injection.config.dart
file.
It seems like it's because they're in the test/ folder and not the lib/ folder.
Is there a way to make build_runner look at these files when doing build generation?
@Environment(Environment.test)
@LazySingleton(as: IHabitRepository)
class MockHabitRepository extends Mock implements IHabitRepository {}