mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 05:01:23 +00:00
test(core): trim redundant test resets and use mockClear
This commit is contained in:
@@ -13,7 +13,7 @@ vi.mock("../infra/channel-activity.js", async (importOriginal) => {
|
||||
|
||||
describe("sendWebhookMessageDiscord activity", () => {
|
||||
beforeEach(() => {
|
||||
recordChannelActivityMock.mockReset();
|
||||
recordChannelActivityMock.mockClear();
|
||||
vi.stubGlobal(
|
||||
"fetch",
|
||||
vi.fn(async () => {
|
||||
|
||||
Reference in New Issue
Block a user