comment
Some checks failed
PR Check / lint-and-format (pull_request) Failing after 14s

This commit is contained in:
Mylloon 2024-09-27 14:49:11 +02:00
parent c4ef3c184c
commit 79bce239cf
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -17,6 +17,8 @@ describe("Date with correct timezone", () => {
} }
{ {
const name = "unknown"; const name = "unknown";
// Depends on the system
// The important is that the date is in the correct timezone (UTC)
test(name, () => { test(name, () => {
expect(["27/09/2024 @ 10:59:27", "9/27/24, @ 10:59:27"]).toContain(showDate(name, map, date)); expect(["27/09/2024 @ 10:59:27", "9/27/24, @ 10:59:27"]).toContain(showDate(name, map, date));
}); });