mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:40:44 +00:00
test(gateway): keep startup context timer live
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user