chore: Fix types in tests 18/N.

This commit is contained in:
cpojer
2026-02-17 12:00:18 +09:00
parent 43c97d18aa
commit 8ece8215aa
8 changed files with 67 additions and 41 deletions

View File

@@ -27,6 +27,7 @@ describe("resolveDiscordRestFetch", () => {
const runtime = {
log: vi.fn(),
error: vi.fn(),
exit: vi.fn(),
} as const;
undiciFetchMock.mockReset().mockResolvedValue(new Response("ok", { status: 200 }));
proxyAgentSpy.mockReset();
@@ -51,6 +52,7 @@ describe("resolveDiscordRestFetch", () => {
const runtime = {
log: vi.fn(),
error: vi.fn(),
exit: vi.fn(),
} as const;
const { __testing } = await import("./provider.js");