MockStore
public class MockStore<State, Environment> : Store<State, Environment>
A MockStore
is intended to be used in unit tests where you want to observe
which Action
s are dispatched and manipulate the State
and Selector
s.
-
Resets all overridden
Selector
s on thisMockStore
.Declaration
Swift
public func resetOverriddenSelectors()
-
Declaration
Swift
override public func select<Value>(_ selector: Fluxor.Selector<State, Value>) -> AnyPublisher<Value, Never>
-
Declaration
Swift
override public func selectCurrent<Value>(_ selector: Fluxor.Selector<State, Value>) -> Value