feat: Begin using Tagged types
All checks were successful
CI / Linux Tests (push) Successful in 5m23s

This commit is contained in:
2026-01-29 17:10:35 -05:00
parent 18a5ef06d3
commit 9379774fae
22 changed files with 167 additions and 150 deletions

View File

@@ -18,7 +18,7 @@ struct ViewControllerTests {
func login() async throws {
try await withDependencies {
$0.viewController = .liveValue
$0.authClient = .failing
$0.auth = .failing
} operation: {
@Dependency(\.viewController) var viewController
@@ -31,7 +31,7 @@ struct ViewControllerTests {
func signup() async throws {
try await withDependencies {
$0.viewController = .liveValue
$0.authClient = .failing
$0.auth = .failing
} operation: {
@Dependency(\.viewController) var viewController
@@ -163,7 +163,7 @@ struct ViewControllerTests {
return try await withDependencies {
$0.viewController = .liveValue
$0.authClient.currentUser = { user }
$0.auth.currentUser = { user }
$0.database.userProfiles.fetch = { _ in profile }
$0.manualD = .liveValue
try await updateDependencies(&$0)