test(core): reduce mock reset overhead across unit and e2e specs
This commit is contained in:
@@ -40,7 +40,7 @@ describe("nodes run: approval transport timeout (#12098)", () => {
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
callGatewaySpy.mockReset();
|
||||
callGatewaySpy.mockClear();
|
||||
callGatewaySpy.mockResolvedValue({ decision: "allow-once" });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user