Trimmed the documentation added by the template sync and the events test fix in the Website service.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c1a391b9f6
commit
06953a1be0
2 files changed
+3
-6
No files matched your search
@@ -41,7 +41,7 @@ if (listingForm) {
|
||||
apply();
|
||||
}
|
||||
|
||||
// Elements tagged `data-view-event` are reported the first time they are fully on screen, when the tracker is present.
|
||||
// Reports each `data-view-event` element the first time it is fully on screen.
|
||||
(() => {
|
||||
const elements = document.querySelectorAll("[data-view-event]");
|
||||
|
||||
|
||||
+2
-5
@@ -246,10 +246,7 @@ private extension AccountAndCollectingControllerTests {
|
||||
}
|
||||
}
|
||||
|
||||
/// Runs the body against the session, catalogue, account, and collecting routes, over a migrated, seeded in-memory database.
|
||||
/// - Parameters:
|
||||
/// - now: the clock the collecting repository judges upcoming events by; the system's by default.
|
||||
/// - body: the requests to run against the app.
|
||||
/// Runs the body against the session, catalogue, account, and collecting routes, over a migrated, seeded in-memory database, judging events by `now`.
|
||||
func withApp(
|
||||
now: @escaping @Sendable () -> Date = { .init() },
|
||||
_ body: @escaping @Sendable (any TestClientProtocol) async throws -> Void
|
||||
@@ -316,7 +313,7 @@ extension AccountAndCollectingControllerTests {
|
||||
|
||||
@Test
|
||||
func `serves the events, and narrows a search to the copies to pick up at one`() async throws {
|
||||
// Noon on 22 September 2026 in Amsterdam: every demo con is still to come.
|
||||
// 22 September 2026: every demo con is still to come.
|
||||
try await withApp(now: { Date(timeIntervalSince1970: 1_790_071_200) }) { client in
|
||||
try await client.execute(uri: "/events", method: .get) { response in
|
||||
let body = String(buffer: response.body)
|
||||
|
||||
Reference in new issue
Block a user