Fix tests
This commit is contained in:
parent
b2c843adb4
commit
545c710ce5
|
@ -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