mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 03:22:44 +00:00
test(gateway): dedupe loopback cases and trim setup resets
This commit is contained in:
@@ -103,11 +103,11 @@ describe("gateway bonjour advertiser", () => {
|
||||
process.env[key] = value;
|
||||
}
|
||||
|
||||
createService.mockReset();
|
||||
shutdown.mockReset();
|
||||
registerUnhandledRejectionHandler.mockReset();
|
||||
logWarn.mockReset();
|
||||
logDebug.mockReset();
|
||||
createService.mockClear();
|
||||
shutdown.mockClear();
|
||||
registerUnhandledRejectionHandler.mockClear();
|
||||
logWarn.mockClear();
|
||||
logDebug.mockClear();
|
||||
vi.useRealTimers();
|
||||
vi.restoreAllMocks();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user