mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
Fix tests
This commit is contained in:
@@ -32,8 +32,8 @@ describe("Utils", () => {
|
||||
});
|
||||
|
||||
it("should convert a Date object to a valid W3C date", () => {
|
||||
expect(processDate(new Date(2020, 6, 1, 0, 0, 0, 0))).toBe(
|
||||
"2020-07-01T00:00:00Z",
|
||||
expect(processDate(new Date("2020-07-01T02:00+02:00"))).toBe(
|
||||
"2020-07-01T00:00:00.000Z",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user