diff --git a/packages/string-templates/test/manifest.spec.js b/packages/string-templates/test/manifest.spec.js index f1b4277b79..ccfb14b4e0 100644 --- a/packages/string-templates/test/manifest.spec.js +++ b/packages/string-templates/test/manifest.spec.js @@ -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, " ")