correct CI for front-end unit-test - issue 1776
This commit is contained in:
@@ -10,7 +10,7 @@ config.global.plugins.push(head);
|
|||||||
config.global.plugins.push(i18n);
|
config.global.plugins.push(i18n);
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
const mokeDate = new Date(2022, 1, 2, 3, 4);
|
const mokeDate = new Date("2022-02-02T02:04:00.000Z");
|
||||||
vi.useFakeTimers();
|
vi.useFakeTimers();
|
||||||
vi.setSystemTime(mokeDate);
|
vi.setSystemTime(mokeDate);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user