feat: Adds quick calculation views, need to add buttons / links in navbar / home page.

This commit is contained in:
2026-02-09 15:34:28 -05:00
parent 88af6f722e
commit 007d13be2f
23 changed files with 584 additions and 490 deletions

View File

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