optimized events
Test and publish container images / test (push) Successful in 2m26s
Test and publish container images / publish (push) Failing after 3s

This commit is contained in:
BuTzZ
2026-07-28 14:36:47 +02:00
parent b98ec8bc6f
commit 593dbd5f85
42 changed files with 2405 additions and 283 deletions
@@ -92,6 +92,29 @@ describe("marine POI canonicalization", () => {
expect(result).toHaveLength(2);
});
it("does not mistake a waterway Wikidata ID for the lock named by lock_name", () => {
const result = canonicalizeMarinePois([
lock("lock-node", "Kesselschleuse Emden", 7.2, {
wikidata: "Q965772"
}),
lock("canal-way", "Kesselschleuse Emden", 7.2002, {
name: "Fehntjer Tief",
lock_name: "Kesselschleuse Emden",
wikidata: "Q1401323",
phone: "+49 170 8512375"
})
]);
expect(result).toHaveLength(1);
expect(result[0]).toMatchObject({
name: "Kesselschleuse Emden",
memberCount: 2,
properties: {
phone: "+49 170 8512375"
}
});
});
it("assigns an unnamed gate to exactly the nearest anchor without bridging facilities", () => {
const result = canonicalizeMarinePois([
lock("west", "Schleuse West", 7),