From d78bd89900ba9e3bbb491655ea4c6aabb05d1801 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Tue, 17 Dec 2024 12:54:01 +0100 Subject: [PATCH] testing colors corresponding --- tests/main.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/main.test.js b/tests/main.test.js index 267f0b8..6ce39aa 100644 --- a/tests/main.test.js +++ b/tests/main.test.js @@ -81,7 +81,7 @@ describe('testing on features', () => { let color = colorUtils.getColor(localFeature) expect(color).toEqual(colorUtils.colors[4]) }) - it('finds 4nd color for 300 kW', () => { + it('finds 5th color for 300 kW', () => { let localFeature = Object.create(featureWithOutput) localFeature.properties.tags['socket:type2:output'] = "300 kW" let outputFound = utils.guessOutputPowerFromFeature(featureWithOutput)