test(cli): keep pairing notify mock on clear with default resolve
This commit is contained in:
parent
f4afa12054
commit
a038ad29f9
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user