with Overrides
fun withOverrides(lambda: FakeFeatureFlags.() -> Unit): FakeFeatureFlagsModule
Content copied to clipboard
Add overrides for the feature flags. Allows flags to be overridden at module instantiation instead of within individual test classes.
Usage:
install(FakeFeatureFlagsModule().withOverrides {
override(Feature("foo"), true)
})Content copied to clipboard
For overriding in many modules see FakeFeatureFlagsOverrideModule