mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user