feat: Adds privacy policy.
All checks were successful
CI / Linux Tests (push) Successful in 8m30s

This commit is contained in:
2026-02-10 16:26:23 -05:00
parent dc9f51c04f
commit 08e67ce308
12 changed files with 1225 additions and 6 deletions

View File

@@ -21,7 +21,6 @@ struct ViewControllerTests {
$0.auth = .failing
} operation: {
@Dependency(\.viewController) var viewController
let home = try await viewController.view(.test(.home))
assertSnapshot(of: home, as: .html)
}
@@ -39,6 +38,18 @@ struct ViewControllerTests {
}
}
@Test
func privacyPolicy() async throws {
try await withDependencies {
$0.viewController = .liveValue
$0.auth = .failing
} operation: {
@Dependency(\.viewController) var viewController
let view = try await viewController.view(.test(.privacyPolicy))
assertSnapshot(of: view, as: .html)
}
}
@Test
func login() async throws {
try await withDependencies {