MCPcopy Create free account
hub / github.com/diegosouzapw/OmniRoute / loadFetchTimeoutModule

Function loadFetchTimeoutModule

tests/unit/fetch-timeout.test.ts:7–9  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

5const originalTimeoutEnv = process.env.FETCH_TIMEOUT_MS;
6
7async function loadFetchTimeoutModule(tag) {
8 return import(`../../src/shared/utils/fetchTimeout.ts?case=${tag}-${Date.now()}`);
9}
10
11test.afterEach(() => {
12 globalThis.fetch = originalFetch;

Callers 1

Calls 1

nowMethod · 0.80

Tested by

no test coverage detected