Fix tests
This commit is contained in:
parent
f193c276f6
commit
108508db7e
|
@ -72,7 +72,11 @@ describe("manifest", () => {
|
|||
if (
|
||||
Array.isArray((parsedExpected = JSON.parse(js.replace(/\'/g, '"'))))
|
||||
) {
|
||||
js = parsedExpected.join(",")
|
||||
if (typeof parsedExpected[0] === "object") {
|
||||
js = JSON.stringify(parsedExpected)
|
||||
} else {
|
||||
js = parsedExpected.join(",")
|
||||
}
|
||||
}
|
||||
} catch {}
|
||||
result = result.replace(/ /g, " ")
|
||||
|
|
Loading…
Reference in New Issue