Adding V1 Support for Example mocking using Bootstrap
usage:
/// 📝 Call Bootstrap in here applied any mocking on closure
///
Bootstrap.mock(for: EnvironmentFeature()) { currentReducer in
/// 📝 here we can mock our reducer with your mocked dependencies
///
currentReducer.dependency(\.envVCEnvironment, .mockFailed)
}
let viewController = EnvironmentDemoVC()
navigationController?.pushViewController(viewController, animated: true)
Adding V1 Support for Example mocking using Bootstrap
usage:
How to clear mock: