mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 20:29:08 +00:00
fix(HTTP Request Node): Show detailed error message in the UI again (#5959)
This commit is contained in:
committed by
GitHub
parent
60d28fc761
commit
e79679c023
@@ -1,17 +1,14 @@
|
||||
import {
|
||||
createDeferredPromise,
|
||||
IConnections,
|
||||
ILogger,
|
||||
INode,
|
||||
IRun,
|
||||
LoggerProxy,
|
||||
Workflow,
|
||||
} from 'n8n-workflow';
|
||||
import { createDeferredPromise, IConnections, INode, IRun, Workflow } from 'n8n-workflow';
|
||||
import { WorkflowExecute } from '@/WorkflowExecute';
|
||||
|
||||
import * as Helpers from './Helpers';
|
||||
import { initLogger } from './utils';
|
||||
|
||||
describe('WorkflowExecute', () => {
|
||||
beforeAll(() => {
|
||||
initLogger();
|
||||
});
|
||||
|
||||
describe('run', () => {
|
||||
const tests: Array<{
|
||||
description: string;
|
||||
@@ -1352,18 +1349,8 @@ describe('WorkflowExecute', () => {
|
||||
},
|
||||
];
|
||||
|
||||
const fakeLogger = {
|
||||
log: () => {},
|
||||
debug: () => {},
|
||||
verbose: () => {},
|
||||
info: () => {},
|
||||
warn: () => {},
|
||||
error: () => {},
|
||||
} as ILogger;
|
||||
|
||||
const executionMode = 'manual';
|
||||
const nodeTypes = Helpers.NodeTypes();
|
||||
LoggerProxy.init(fakeLogger);
|
||||
|
||||
for (const testData of tests) {
|
||||
test(testData.description, async () => {
|
||||
|
||||
Reference in New Issue
Block a user