Fixing complex test case.

This commit is contained in:
mike12345567 2021-04-30 16:21:59 +01:00
parent a7022de9b5
commit 2cd4e389a6
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ describe("Test the object/array helper", () => {
{ price: 30 }, { price: 30 },
] ]
} }
const output = await processString("{{ sum ( pluck items 'price' ) }}", context) const output = await processString("{{ literal ( sum ( pluck items 'price' ) ) }}", context)
expect(output).toBe(50) expect(output).toBe(50)
}) })
}) })