1
0
Fork 0
mirror of synced 2024-06-14 16:35:02 +12:00

Adding ellipsis test case.

This commit is contained in:
mike12345567 2022-09-07 11:55:03 +01:00
parent 45349845f5
commit 9107847fc3

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