refactor(cli): Remove console.log in curl converted tests (no-changelog) (#4289)

🔥 Remove console.log
This commit is contained in:
Ricardo Espinoza 2022-10-09 02:11:32 -04:00 committed by GitHub
parent 9407fddd21
commit 9b042c4923
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,6 @@ describe('CurlConverterHelper', () => {
test('Should parse binary request correctly', () => { test('Should parse binary request correctly', () => {
const curl = `curl --location --request POST 'https://www.website.com' --header 'Content-Type: image/png' --data-binary '@/Users/image.png`; const curl = `curl --location --request POST 'https://www.website.com' --header 'Content-Type: image/png' --data-binary '@/Users/image.png`;
const parameters = toHttpNodeParameters(curl); const parameters = toHttpNodeParameters(curl);
console.log(JSON.stringify(parameters, undefined, 2));
expect(parameters.url).toBe('https://www.website.com'); expect(parameters.url).toBe('https://www.website.com');
expect(parameters.method).toBe('POST'); expect(parameters.method).toBe('POST');
expect(parameters.sendBody).toBe(true); expect(parameters.sendBody).toBe(true);