Adding ellipsis test case.

This commit is contained in:
mike12345567 2022-09-07 11:55:03 +01:00
parent 45349845f5
commit 9107847fc3
1 changed files with 8 additions and 0 deletions

View File

@ -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", () => {