Fixing tests

This commit is contained in:
Selim Mustafaev 2024-12-24 21:08:07 +03:00
parent 9f08dfb358
commit 08a5c01990
3 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public class ServiceContainer {
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)

View File

@ -10,6 +10,7 @@ import Testing
import CoreLocation
import Mockable
import Intents
import Contacts
@testable import AutoCatCore
@MainActor

View File

@ -10,6 +10,7 @@ import Testing
import CoreLocation
import Mockable
import Intents
import Contacts
@testable import AutoCat
@testable import AutoCatCore