From dcfab4bd8057098ad7b3303988d1ba4f062c9619 Mon Sep 17 00:00:00 2001 From: Jorrin Date: Sun, 31 Mar 2024 15:57:26 +0200 Subject: [PATCH] =?UTF-8?q?remove=20=E2=9C=A8comments=20=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standard/fetchers/simpleProxy.test.ts | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) 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 }, + }); }); });