test(cli): keep pairing notify mock on clear with default resolve

This commit is contained in:
Peter Steinberger
2026-02-22 00:15:00 +00:00
parent f4afa12054
commit a038ad29f9

View File

@@ -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() {