mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-07 22:09:57 +00:00
test(cli): use lightweight clear for cron gateway mock
This commit is contained in:
@@ -62,7 +62,7 @@ function buildProgram() {
|
||||
}
|
||||
|
||||
function resetGatewayMock() {
|
||||
callGatewayFromCli.mockReset();
|
||||
callGatewayFromCli.mockClear();
|
||||
callGatewayFromCli.mockImplementation(defaultGatewayMock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user