testing colors corresponding
This commit is contained in:
parent
bdd0aaaba2
commit
d78bd89900
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user