mirror of https://github.com/openclaw/openclaw.git
test(discord): use lightweight clear for thread binding rest mock
This commit is contained in:
parent
42f27ca39d
commit
856b8e28a6
|
|
@ -22,7 +22,7 @@ const { resolveChannelIdForBinding } = await import("./thread-bindings.discord-a
|
|||
|
||||
describe("resolveChannelIdForBinding", () => {
|
||||
beforeEach(() => {
|
||||
hoisted.restGet.mockReset();
|
||||
hoisted.restGet.mockClear();
|
||||
hoisted.createDiscordRestClient.mockClear();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue