Fix tests

This commit is contained in:
Jens Spanier
2023-08-08 13:33:57 +02:00
parent 4764761c89
commit 846d54d681
2 changed files with 6 additions and 6 deletions

View File

@@ -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",
);
});
});