perf(discord): avoid broad send barrel in webhook activity test

This commit is contained in:
Vincent Koc
2026-03-31 22:02:01 +09:00
parent 675b80c4a4
commit 35072c4751
2 changed files with 3 additions and 3 deletions

View File

@@ -19,11 +19,11 @@ vi.mock("../../../src/infra/channel-activity.js", async (importOriginal) => {
};
});
let sendWebhookMessageDiscord: typeof import("./send.js").sendWebhookMessageDiscord;
let sendWebhookMessageDiscord: typeof import("./send.outbound.js").sendWebhookMessageDiscord;
describe("sendWebhookMessageDiscord activity", () => {
beforeAll(async () => {
({ sendWebhookMessageDiscord } = await import("./send.js"));
({ sendWebhookMessageDiscord } = await import("./send.outbound.js"));
});
beforeEach(() => {

View File

@@ -298,7 +298,7 @@
"durationMs": 282
},
"extensions/discord/src/send.webhook-activity.test.ts": {
"durationMs": 246
"durationMs": 31110
},
"src/browser/routes/basic.existing-session.test.ts": {
"durationMs": 221