diff --git a/integrations/node-fetch/require.ts b/integrations/node-fetch/require.ts index 059f43e..1b33f84 100644 --- a/integrations/node-fetch/require.ts +++ b/integrations/node-fetch/require.ts @@ -42,7 +42,7 @@ export function wrappedNodeFetch(fetch: any) { getExecutionContext().context == undefined ) { console.error("keploy context is not present to mock dependencies"); - return; + return fetchFunc.apply(this, [url, options]); } const ctx = getExecutionContext().context; let resp = new fetch.Response();