From e671ebdf0dab6e9a910b98049b8623b5fac01de0 Mon Sep 17 00:00:00 2001 From: tygao Date: Thu, 4 May 2023 17:24:24 +0800 Subject: [PATCH] test: update ut Signed-off-by: tygao --- public/model/layersFunction.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/model/layersFunction.test.ts b/public/model/layersFunction.test.ts index 9367fefa..7db4d50f 100644 --- a/public/model/layersFunction.test.ts +++ b/public/model/layersFunction.test.ts @@ -54,24 +54,29 @@ describe('Exported objects', () => { opensearch_vector_tile_map: OSMLayerFunctions, documents: DocumentLayerFunctions, custom_map: CustomLayerFunctions, + //TODO: will update with layersFunctionsMap + cluster: null, }); expect(layersTypeNameMap).toEqual({ opensearch_vector_tile_map: 'OpenSearch map', documents: 'Documents', custom_map: 'Custom map', + cluster: 'Cluster', }); expect(layersTypeIconMap).toEqual({ opensearch_vector_tile_map: 'globe', documents: 'document', custom_map: 'globe', + cluster: 'heatmap', }); expect(baseLayerTypeLookup).toEqual({ opensearch_vector_tile_map: true, custom_map: true, documents: false, + cluster: false, }); }); });