test(gateway): keep startup context timer live

This commit is contained in:
Vincent Koc
2026-05-05 00:02:33 -07:00
parent 18405c1acf
commit e2eb5649d1

View File

@@ -242,7 +242,7 @@ function buildExistingMainStoreEntry(overrides: Record<string, unknown> = {}) {
}
function setupNewYorkTimeConfig(isoDate: string) {
vi.useFakeTimers();
vi.useFakeTimers({ toFake: ["Date"] });
vi.setSystemTime(new Date(isoDate)); // Wed Jan 28, 8:30 PM EST
mocks.agentCommand.mockClear();
mocks.loadConfigReturn = {