diff --git a/tests/integration/dawarich-context.test.ts b/tests/integration/dawarich-context.test.ts index 04a1e1855..a0f8ddb1a 100644 --- a/tests/integration/dawarich-context.test.ts +++ b/tests/integration/dawarich-context.test.ts @@ -304,7 +304,12 @@ describe("Dawarich daily values", () => { UNION ALL SELECT row_to_json(s)::text FROM "integration_statuses" s `; - const dump = rows.map((r) => r.row).join("\n"); + // Clock times go first: a timestamp written at :52.52x seconds holds the + // latitude's digits and failed the check without any coordinate stored. + const dump = rows + .map((r) => r.row) + .join("\n") + .replace(/\d{2}:\d{2}:\d{2}\.\d+/g, "