correct CI for front-end unit-test - issue 1776

This commit is contained in:
Laurent GAY
2025-06-30 17:52:27 +02:00
parent ade63c8f8e
commit 888d4ed401

View File

@@ -10,7 +10,7 @@ config.global.plugins.push(head);
config.global.plugins.push(i18n);
beforeEach(() => {
const mokeDate = new Date(2022, 1, 2, 3, 4);
const mokeDate = new Date("2022-02-02T02:04:00.000Z");
vi.useFakeTimers();
vi.setSystemTime(mokeDate);
});