Skip to content

Commit

Permalink
Update CategorisedMocks.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinjahanmanesh authored Sep 9, 2024
1 parent 6fe6b2d commit 564323b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/LetSee/Core/Services/CategorisedMocks.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ public struct CategorisedMocks: Hashable {

/// List of mocks belonging to the category
public var mocks: [LetSeeMock]

public init(category: LetSeeMock.Category, mocks: [LetSeeMock]) {
self.category = category
self.mocks = mocks
}
}

public typealias RequestToMockMapper = ((_: URL, _ mocks: Dictionary<String, Set<LetSeeMock>>) -> CategorisedMocks?)

0 comments on commit 564323b

Please sign in to comment.