testing colors corresponding

This commit is contained in:
Tykayn 2024-12-17 12:54:01 +01:00 committed by tykayn
parent bdd0aaaba2
commit d78bd89900

View File

@ -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)