Trek_CN/server/tests/unit
Maurice 4cb9b18cc6 fix(atlas): assign border places by polygon, not just bounding box (#1331)
getCountryFromCoords picked the country with the smallest bounding box containing the point, so a place just across a border (e.g. Strasbourg, which sits inside both the FR and DE boxes) landed in the wrong, smaller-box country. When more than one country box matches, it now disambiguates with the real admin0 polygon via point-in-polygon, smallest-box-first; a micro-territory with no admin0 polygon (HK, MO, SM, VA, ...) keeps the smallest-box win, and an unmatched point falls back to the old behaviour. The common single-candidate case is unchanged.
2026-06-27 20:14:52 +02:00
..
db Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
mcp v3.1.1 bug fixes (#1228) 2026-06-18 20:13:30 +02:00
middleware Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
nest test(days): bump over-long-time assertion to the new 250 limit (#1252) 2026-06-23 21:23:39 +02:00
services fix(atlas): assign border places by polygon, not just bounding box (#1331) 2026-06-27 20:14:52 +02:00
systemNotices feat(system-notices): replace expiresAt with [minVersion, maxVersion) version gate 2026-04-17 20:03:23 +02:00
utils Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
idempotency-cleanup.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00
scheduler.test.ts Bug fixes - April 27th 2026 (#907) 2026-04-28 05:17:20 +02:00
shared-contract.test.ts Release 3.1.0 (#1185) 2026-06-16 22:22:45 +02:00