From 4068a296240464b6449548f327bce9837e3d0668 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 30 Apr 2021 16:21:59 +0100 Subject: [PATCH] Fixing complex test case. --- packages/string-templates/test/helpers.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/string-templates/test/helpers.spec.js b/packages/string-templates/test/helpers.spec.js index deddf86ad4..0d14133aad 100644 --- a/packages/string-templates/test/helpers.spec.js +++ b/packages/string-templates/test/helpers.spec.js @@ -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) }) })