diff --git a/src/__test__/standard/fetchers/simpleProxy.test.ts b/src/__test__/standard/fetchers/simpleProxy.test.ts index 569d94d..cef585e 100644 --- a/src/__test__/standard/fetchers/simpleProxy.test.ts +++ b/src/__test__/standard/fetchers/simpleProxy.test.ts @@ -128,21 +128,21 @@ describe('makeSimpleProxyFetcher()', () => { }, outputBody: 'hello world', }); - // setResult("json", { hello: 42 }); - // expectFetchCall({ - // inputUrl: "https://google.com/", - // input: { - // method: "POST", - // query: {}, - // readHeaders: [], - // headers: {}, - // }, - // outputUrl: `https://example.com/proxy?destination=${encodeURIComponent('https://google.com/')}`, - // output: { - // method: "POST", - // headers: {}, - // }, - // outputBody: { hello: 42 } - // }) + setResult('json', { hello: 42 }); + expectFetchCall({ + inputUrl: 'https://google.com/', + input: { + method: 'POST', + query: {}, + readHeaders: [], + headers: {}, + }, + outputUrl: `https://example.com/proxy?destination=${encodeURIComponent('https://google.com/')}`, + output: { + method: 'POST', + headers: {}, + }, + outputBody: { hello: 42 }, + }); }); });