From 787323bcacb7592363f9d6e0e58d8ecfb2a7364f Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Tue, 13 Jun 2023 10:52:52 +0200 Subject: [PATCH] Cosmetics --- src/lib/osm/tagsStatus.test.ts | 4 ++-- src/lib/osm/tagsStatus.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/osm/tagsStatus.test.ts b/src/lib/osm/tagsStatus.test.ts index ed1dbd3..76506f3 100644 --- a/src/lib/osm/tagsStatus.test.ts +++ b/src/lib/osm/tagsStatus.test.ts @@ -7,7 +7,7 @@ describe('The getTagStatus function', () => { highlighted: false, }); }); - it('should return definition/true for a tag that exists and is highlighted', () => { + it('should return highlighted: true for a tag that exists and is highlighted', () => { expect( getTagStatus( 'whatever', @@ -21,7 +21,7 @@ describe('The getTagStatus function', () => { highlighted: true, }); }); - it('should return definition/false for a tag that exists and is NOT highlighted', () => { + it('should return highlighted: false for a tag that exists and is NOT highlighted', () => { expect( getTagStatus( 'whatever', diff --git a/src/lib/osm/tagsStatus.ts b/src/lib/osm/tagsStatus.ts index e438855..56b0aff 100644 --- a/src/lib/osm/tagsStatus.ts +++ b/src/lib/osm/tagsStatus.ts @@ -10,8 +10,8 @@ enum TagType { } interface TagActivityDefinitions { - poi?: { [key: string]: TagCategoryDefinitions }; route?: { [key: string]: TagCategoryDefinitions }; + poi?: { [key: string]: TagCategoryDefinitions }; } interface TagDefinitions {