mirror of
https://forge.chapril.org/tykayn/libre-charge-map
synced 2025-06-20 01:34:43 +02:00
testing colors corresponding
This commit is contained in:
parent
bdd0aaaba2
commit
d78bd89900
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue