test(cli): use lightweight clear for cron gateway mock
This commit is contained in:
parent
cea5bcc4ac
commit
391d32d461
@ -62,7 +62,7 @@ function buildProgram() {
|
||||
}
|
||||
|
||||
function resetGatewayMock() {
|
||||
callGatewayFromCli.mockReset();
|
||||
callGatewayFromCli.mockClear();
|
||||
callGatewayFromCli.mockImplementation(defaultGatewayMock);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user