diff --git a/src/app/constructCatalog.test.mjs b/src/app/constructCatalog.test.mjs index 1600f5499..cb372e70b 100644 --- a/src/app/constructCatalog.test.mjs +++ b/src/app/constructCatalog.test.mjs @@ -40,7 +40,7 @@ test('catalogs construct distinct layers and classification from their supplied signal: b.signal, surface: fixtureSurface(b.signal), }); - assert.equal(first.layers.length, 38); + assert.equal(first.layers.length, 39); assert.ok(first.get('local-adsb'), 'Local ADS-B is registered'); assert.deepEqual( first.metadata.find(({ id }) => id === 'osm-places'), @@ -162,7 +162,7 @@ test('Mapillary can be omitted or replaced without changing catalog membership', surface: fixtureSurface(lifetime.signal), }; const catalog = createApplicationCatalog(options); - assert.equal(catalog.layers.length, 38); + assert.equal(catalog.layers.length, 39); assert.deepEqual(catalog.get('street-level').providerIds, []); assert.equal( catalogControlServices(catalog).streetLevelLayer, diff --git a/src/app/sourceComposition.test.mjs b/src/app/sourceComposition.test.mjs index 28f2d3984..93902e361 100644 --- a/src/app/sourceComposition.test.mjs +++ b/src/app/sourceComposition.test.mjs @@ -37,7 +37,7 @@ test('every acquisition source can be omitted without losing catalog membership' test('all acquisition sources may be absent, and enable fails before initializing or fetching', async (t) => { const actual = catalog({}, t); - assert.equal(actual.layers.length, 38); + assert.equal(actual.layers.length, 39); const manager = new LayerLifecycle( {}, { getSourceAvailability: actual.getSourceAvailability }, diff --git a/src/tooling/transitQa.test.mjs b/src/tooling/transitQa.test.mjs index 0b4af4a16..202e21870 100644 --- a/src/tooling/transitQa.test.mjs +++ b/src/tooling/transitQa.test.mjs @@ -695,7 +695,7 @@ test('public transit documentation uses courtesy attribution and the approved gr ); assert.ok( readme.includes( - 'Twenty-two layers and map sources. **Twenty have a keyless path.**', + 'Twenty-three layers and map sources. **Twenty-one have a keyless path.**', ), ); assert.ok( diff --git a/src/ui/layerPanel.test.mjs b/src/ui/layerPanel.test.mjs index a87b3abd4..445fbeaee 100644 --- a/src/ui/layerPanel.test.mjs +++ b/src/ui/layerPanel.test.mjs @@ -50,7 +50,8 @@ test('Wildlife follows Events and precedes Weather', () => { ); const wildlife = order.findIndex(({ id }) => id === 'wildlife-sightings'); assert.equal(order[wildlife].label, 'Wildlife'); - assert.equal(order[wildlife - 1].id, 's2-ghostmaps'); + // News is the last of Events. + assert.equal(order[wildlife - 1].id, 'news'); assert.equal(order[wildlife + 1].id, 'air-quality'); assert.equal(order.filter(({ id }) => id === 'wildlife-sightings').length, 1); });