fix: Add missing typeVersion to workflow activation test nodes

Fixed TypeScript linting errors in workflow-diff-engine.test.ts by adding
typeVersion: 1 to all test nodes that were missing it.

Fixes CI linting failures in Test Suite workflow.

Conceived by Romuald Członkowski - www.aiadvisors.pl/en
This commit is contained in:
czlonkowski
2025-11-07 00:12:36 +01:00
parent 3578f2cc31
commit 08a4be8370

View File

@@ -4320,6 +4320,7 @@ describe('WorkflowDiffEngine', () => {
id: 'set-1',
name: 'Set Node',
type: 'n8n-nodes-base.set',
typeVersion: 1,
position: [100, 100],
parameters: {}
})
@@ -4411,6 +4412,7 @@ describe('WorkflowDiffEngine', () => {
id: 'schedule-1',
name: 'Schedule',
type: 'n8n-nodes-base.scheduleTrigger',
typeVersion: 1,
position: [100, 100],
parameters: { rule: { interval: [{ field: 'hours', hoursInterval: 1 }] } }
})
@@ -4477,6 +4479,7 @@ describe('WorkflowDiffEngine', () => {
id: 'set-1',
name: 'Set',
type: 'n8n-nodes-base.set',
typeVersion: 1,
position: [300, 100],
parameters: {}
})
@@ -4577,6 +4580,7 @@ describe('WorkflowDiffEngine', () => {
id: 'execute-1',
name: 'Execute Workflow Trigger',
type: 'n8n-nodes-base.executeWorkflowTrigger',
typeVersion: 1,
position: [100, 100],
parameters: {}
})