test(discord): use lightweight clear for thread binding rest mock
This commit is contained in:
@@ -22,7 +22,7 @@ const { resolveChannelIdForBinding } = await import("./thread-bindings.discord-a
|
||||
|
||||
describe("resolveChannelIdForBinding", () => {
|
||||
beforeEach(() => {
|
||||
hoisted.restGet.mockReset();
|
||||
hoisted.restGet.mockClear();
|
||||
hoisted.createDiscordRestClient.mockClear();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user