feat: Updates tests to include home page snapshot test, updates TODO's.
All checks were successful
CI / Linux Tests (push) Successful in 5m52s

This commit is contained in:
2026-02-08 10:27:23 -05:00
parent d957cc1c19
commit bb88d48eb3
12 changed files with 108 additions and 3 deletions

View File

@@ -14,6 +14,19 @@ import ViewController
@Suite(.snapshots(record: .failed))
struct ViewControllerTests {
@Test
func home() async throws {
try await withDependencies {
$0.viewController = .liveValue
$0.auth = .failing
} operation: {
@Dependency(\.viewController) var viewController
let home = try await viewController.view(.test(.home))
assertSnapshot(of: home, as: .html)
}
}
@Test
func login() async throws {
try await withDependencies {