mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(n8n Form Node): Completion page display if EXECUTIONS_DATA_SAVE_ON_SUCCESS=none (#11869)
This commit is contained in:
@@ -79,7 +79,7 @@ describe('NodeExecutionContext', () => {
|
||||
|
||||
const result = testContext.getChildNodes('Test Node');
|
||||
|
||||
expect(result).toEqual([
|
||||
expect(result).toMatchObject([
|
||||
{ name: 'Child Node 1', type: 'testType1', typeVersion: 1 },
|
||||
{ name: 'Child Node 2', type: 'testType2', typeVersion: 2 },
|
||||
]);
|
||||
@@ -98,7 +98,7 @@ describe('NodeExecutionContext', () => {
|
||||
|
||||
const result = testContext.getParentNodes('Test Node');
|
||||
|
||||
expect(result).toEqual([
|
||||
expect(result).toMatchObject([
|
||||
{ name: 'Parent Node 1', type: 'testType1', typeVersion: 1 },
|
||||
{ name: 'Parent Node 2', type: 'testType2', typeVersion: 2 },
|
||||
]);
|
||||
|
||||
@@ -86,6 +86,7 @@ export abstract class NodeExecutionContext implements Omit<FunctionsBase, 'getCr
|
||||
name: node.name,
|
||||
type: node.type,
|
||||
typeVersion: node.typeVersion,
|
||||
disabled: node.disabled ?? false,
|
||||
});
|
||||
}
|
||||
return output;
|
||||
@@ -101,6 +102,7 @@ export abstract class NodeExecutionContext implements Omit<FunctionsBase, 'getCr
|
||||
name: node.name,
|
||||
type: node.type,
|
||||
typeVersion: node.typeVersion,
|
||||
disabled: node.disabled ?? false,
|
||||
});
|
||||
}
|
||||
return output;
|
||||
|
||||
Reference in New Issue
Block a user