Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
adding public accessors to getsState and run
  • Loading branch information
obj-p committed Feb 20, 2019
commit 7e638f13eaba494911a1d96ae6d314ca219aeb4b
4 changes: 2 additions & 2 deletions ReSwift-ThunkTests/ExpectThunk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ extension ExpectThunk {
}

extension ExpectThunk {
func getsState(_ state: State) -> Self {
public func getsState(_ state: State) -> Self {
providedStates.append(state)
return self
}
}

extension ExpectThunk {
func run() -> XCTestExpectation {
public func run() -> XCTestExpectation {
createThunksMiddleware()(dispatch, getState)({ _ in })(thunk)
return expectation
}
Expand Down