1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

Fix tests

This commit is contained in:
Andrew Kingston 2021-06-28 10:00:22 +01:00
parent 50f8931fbe
commit d65d4975c9

View file

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