remove comments

This commit is contained in:
Jorrin 2024-03-31 15:57:26 +02:00
parent d1d7f5cf72
commit dcfab4bd80
1 changed files with 16 additions and 16 deletions

View File

@ -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 },
});
});
});