Skip to content

Commit

Permalink
test: update ut
Browse files Browse the repository at this point in the history
Signed-off-by: tygao <tygao@amazon.com>
  • Loading branch information
raintygao committed May 4, 2023
1 parent acd7724 commit e671ebd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions public/model/layersFunction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
});
});
Expand Down

0 comments on commit e671ebd

Please sign in to comment.