Fixing tests
This commit is contained in:
parent
9f08dfb358
commit
08a5c01990
@ -41,7 +41,7 @@ public class ServiceContainer {
|
|||||||
cache[String(describing: service.self)] = instance
|
cache[String(describing: service.self)] = instance
|
||||||
}
|
}
|
||||||
|
|
||||||
public func resolve<Service>(_ service: Service.Type) throws -> Service {
|
public func resolve<Service>(_ service: Service.Type) -> Service {
|
||||||
|
|
||||||
let type = String(describing: service.self)
|
let type = String(describing: service.self)
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import Testing
|
|||||||
import CoreLocation
|
import CoreLocation
|
||||||
import Mockable
|
import Mockable
|
||||||
import Intents
|
import Intents
|
||||||
|
import Contacts
|
||||||
@testable import AutoCatCore
|
@testable import AutoCatCore
|
||||||
|
|
||||||
@MainActor
|
@MainActor
|
||||||
|
|||||||
@ -10,6 +10,7 @@ import Testing
|
|||||||
import CoreLocation
|
import CoreLocation
|
||||||
import Mockable
|
import Mockable
|
||||||
import Intents
|
import Intents
|
||||||
|
import Contacts
|
||||||
|
|
||||||
@testable import AutoCat
|
@testable import AutoCat
|
||||||
@testable import AutoCatCore
|
@testable import AutoCatCore
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user