mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(core): Implement partial execution for all tool nodes (#15168)
This commit is contained in:
@@ -4323,7 +4323,7 @@ describe('NodeHelpers', () => {
|
||||
expected: true,
|
||||
},
|
||||
{
|
||||
description: 'Should return false for node with only AiTool output and not a trigger',
|
||||
description: 'Should return true for node with only AiTool output and not a trigger',
|
||||
node: {
|
||||
id: 'aiToolOutputNodeId',
|
||||
name: 'AiToolOutputNode',
|
||||
@@ -4343,10 +4343,10 @@ describe('NodeHelpers', () => {
|
||||
outputs: [NodeConnectionTypes.AiTool], // Only AiTool output, no Main
|
||||
properties: [],
|
||||
},
|
||||
expected: false,
|
||||
expected: true,
|
||||
},
|
||||
{
|
||||
description: 'Should return false for node with dynamic outputs set to AiTool only',
|
||||
description: 'Should return true for node with dynamic outputs set to AiTool only',
|
||||
node: {
|
||||
id: 'dynamicAiToolNodeId',
|
||||
name: 'DynamicAiToolNode',
|
||||
@@ -4366,7 +4366,7 @@ describe('NodeHelpers', () => {
|
||||
outputs: '={{["ai_tool"]}}', // Dynamic expression that resolves to AiTool only
|
||||
properties: [],
|
||||
},
|
||||
expected: false,
|
||||
expected: true,
|
||||
mockReturnValue: [NodeConnectionTypes.AiTool],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user