Fix tests
This commit is contained in:
parent
50f8931fbe
commit
d65d4975c9
|
@ -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)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue