Fix test
Build & Test / build-backend (pull_request) Successful in 1m5s
Build & Test / build-frontend (pull_request) Failing after 26s

This commit is contained in:
Stedoss
2026-07-28 09:02:36 +00:00
parent 330e3cb27e
commit e75da66968
@@ -20,7 +20,8 @@ describe('dateUtils', () => {
it('returns readable date when datetime passed is in valid format', () => {
const date = toReadableDateTime('2026-07-27T23:27:22.1976394+00:00');
expect(date).toBe('27/07/2026, 23:27:22');
// Date invariants are annoying, test that we are getting back the locale in this case
expect(date).toBe(new Date('2026-07-27T23:27:22.1976394+00:00').toLocaleString());
});
});
});