Fix tests

This commit is contained in:
Andrew Kingston 2021-06-28 10:00:22 +01:00
parent b2c843adb4
commit 545c710ce5
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ describe("check the utility functions", () => {
it("should be able to handle an input date object", async () => { it("should be able to handle an input date object", async () => {
const date = new Date() const date = new Date()
const output = await processString("{{ dateObj }}", { dateObj: date }) const output = await processString("{{ dateObj }}", { dateObj: date })
expect(date.toISOString()).toEqual(output) expect(date.toString()).toEqual(output)
}) })
}) })