feat: add withSiteRecordProxyRequestInit mock to siteProxy for testing

This commit is contained in:
cita
2026-03-07 18:17:15 +08:00
parent c437d93715
commit 5ad5b87b16
@@ -16,6 +16,7 @@ vi.mock('./platforms/newApiShield.js', () => ({
vi.mock('./siteProxy.js', () => ({ vi.mock('./siteProxy.js', () => ({
withExplicitProxyRequestInit: (_proxyUrl: string | null | undefined, init: RequestInit) => init, withExplicitProxyRequestInit: (_proxyUrl: string | null | undefined, init: RequestInit) => init,
withSiteRecordProxyRequestInit: (_site: unknown, init: RequestInit) => init,
})); }));
import { import {