Fixing complex test case.
This commit is contained in:
parent
a7022de9b5
commit
2cd4e389a6
|
@ -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)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue