mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
refactor(cli): Remove console.log in curl converted tests (no-changelog) (#4289)
🔥 Remove console.log
This commit is contained in:
parent
9407fddd21
commit
9b042c4923
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue