Fix: tests

This commit is contained in:
Pieter Vander Vennet 2024-12-17 04:39:38 +01:00
parent 01cc2f4170
commit 5b43316f10
7 changed files with 205 additions and 46 deletions

View file

@ -64,7 +64,7 @@ export default class Maproulette {
if (code === "Created") {
return Maproulette.STATUS_OPEN
}
const i = maprouletteStatus.findIndex(<any>code)
const i = maprouletteStatus.indexOf(<any>code)
if (i < 0) {
return undefined
}