has issues

This commit is contained in:
Andras Schmelczer 2026-05-25 13:20:17 +01:00
parent 2e112d7398
commit c645b0f1d4
96 changed files with 2147083 additions and 5787 deletions

View file

@ -82,7 +82,7 @@ describe('usePoiLayers', () => {
width: 96,
height: 48,
});
expect(getSize(waitrose)).toBe(24);
expect(getSize(waitrose)).toBe(14);
});
it('prefers POI fascia icon categories for map marker icons', () => {
@ -98,7 +98,7 @@ describe('usePoiLayers', () => {
width: 96,
height: 48,
});
expect(getSize(foodWarehouse)).toBe(24);
expect(getSize(foodWarehouse)).toBe(14);
});
it('keeps generic emoji POIs at the compact marker size', () => {
@ -114,7 +114,7 @@ describe('usePoiLayers', () => {
width: 72,
height: 72,
});
expect(getSize(supermarket)).toBe(18);
expect(getSize(supermarket)).toBe(11);
});
it('hides the circular marker badge behind bundled logo icons', () => {
@ -129,12 +129,12 @@ describe('usePoiLayers', () => {
const getLineColor = backgroundLayer.props.getLineColor as (poi: POI) => PoiColor;
expect(getShadowRadius(waitrose)).toBe(0);
expect(getBackgroundRadius(waitrose)).toBe(24);
expect(getBackgroundRadius(waitrose)).toBe(14);
expect(getFillColor(waitrose)).toEqual([0, 0, 0, 0]);
expect(getLineColor(waitrose)).toEqual([0, 0, 0, 0]);
expect(getShadowRadius(supermarket)).toBe(16);
expect(getBackgroundRadius(supermarket)).toBe(14);
expect(getShadowRadius(supermarket)).toBe(10);
expect(getBackgroundRadius(supermarket)).toBe(8);
expect(getFillColor(supermarket)).toEqual([255, 255, 255, 255]);
expect(getLineColor(supermarket)).toEqual([34, 197, 94, 255]);
});