fix(ci): repair map fixtures and keep renderer dependencies layered

Use the engine write lock for map defaults and clean the metadata-free test snapshot with Kysely. Model the Leaflet bridge option, keep the renderer failure state below the settings store, and make the tile tests independent of the transpiler quote style.
This commit is contained in:
Maurice
2026-11-30 16:34:55 +01:00
parent 5c133bbf40
commit 54c54d5e65
14 changed files with 86 additions and 66 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ describe('isGlRasterTileRequest', () => {
});
it('FE-SYNC-GLTILECACHE-005: every host in the inline list is one the CSP lets a GL map fetch', () => {
const inline = [...isGlRasterTileRequest.toString().matchAll(/'([^']+\.[a-z]+)'/g)].map((m) => m[1]);
const inline = [...isGlRasterTileRequest.toString().matchAll(/(['"])([^'"]+\.[a-z]+)\1/g)].map((m) => m[2]);
expect(inline.length).toBeGreaterThan(0);
for (const host of inline) expect(RASTER_TILE_HOSTS, host).toContain(host);
});