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