Fixing complex test case.
This commit is contained in:
parent
a6e282c19b
commit
4068a29624
|
@ -281,7 +281,7 @@ describe("Test the object/array helper", () => {
|
|||
{ 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)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue