mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-18 14:57:27 +00:00
test(cli): keep pairing notify mock on clear with default resolve
This commit is contained in:
@@ -54,10 +54,11 @@ describe("pairing cli", () => {
|
||||
beforeEach(() => {
|
||||
listChannelPairingRequests.mockReset();
|
||||
approveChannelPairingCode.mockReset();
|
||||
notifyPairingApproved.mockReset();
|
||||
notifyPairingApproved.mockClear();
|
||||
normalizeChannelId.mockClear();
|
||||
getPairingAdapter.mockClear();
|
||||
listPairingChannels.mockClear();
|
||||
notifyPairingApproved.mockResolvedValue(undefined);
|
||||
});
|
||||
|
||||
function createProgram() {
|
||||
|
||||
Reference in New Issue
Block a user