mirror of
https://gh-proxy.org/https://github.com/klinsmaya/open-connector.git
synced 2026-11-08 01:16:52 +08:00
7 lines
345 B
TypeScript
7 lines
345 B
TypeScript
import { setDefaultGuardedFetchDnsLookup } from "./src/core/guarded-fetch.ts";
|
|
|
|
// Unit tests must never depend on real DNS resolution: disable the module
|
|
// default (node:dns) lookup used by guarded provider fetches. Guard-specific
|
|
// tests inject their own lookup through createGuardedFetch({ lookup }).
|
|
setDefaultGuardedFetchDnsLookup(null);
|