Browse Source

Fixing complex test case.

pull/4023/head
mike12345567 5 years ago
parent
commit
2cd4e389a6
  1. 2
      packages/string-templates/test/helpers.spec.js

2
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)
})
})

Loading…
Cancel
Save