Adding ellipsis test case.
This commit is contained in:
parent
2d183e0c6c
commit
3b64a8f94b
|
@ -272,6 +272,14 @@ describe("test the string helpers", () => {
|
|||
)
|
||||
expect(output).toBe("Hi!")
|
||||
})
|
||||
|
||||
it("should allow use of the ellipsis helper", async () => {
|
||||
const output = await processString(
|
||||
"{{ ellipsis \"adfasdfasdfasf\" 7 }}",
|
||||
{},
|
||||
)
|
||||
expect(output).toBe("adfasdf…")
|
||||
})
|
||||
})
|
||||
|
||||
describe("test the comparison helpers", () => {
|
||||
|
|
Loading…
Reference in New Issue