1
0
Fork 0
mirror of synced 2024-07-04 14:01:27 +12:00

Array instead of string

This commit is contained in:
Adria Navarro 2024-01-22 12:18:53 +01:00
parent 142b404a91
commit 7705397da3

View file

@ -27,7 +27,7 @@ describe("manifest", () => {
const example = manifest[collection][func].example
let [hbs, js] = example.split("->").map(x => x.trim())
hbs = hbs.replace(/'\[1, 2, 3\]'/, "array")
hbs = hbs.replace(/\[1, 2, 3\]/, "array")
expect(await processString(hbs, { array: [1, 2, 3] })).toEqual(js)
})