fix: resolve TypeScript linting errors in Phase 3 test files

- Fixed tags format from object array to string array in all test files
- Added type assertions for response.data in get-workflow-details.test.ts
- Added non-null assertions for workflow.nodes in get-workflow.test.ts
- All TypeScript linting errors now resolved

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
czlonkowski
2025-10-04 12:43:38 +02:00
parent 62d01ab237
commit c8cdd3c0b5
4 changed files with 22 additions and 21 deletions

View File

@@ -47,8 +47,8 @@ describe('Integration: handleGetWorkflowMinimal', () => {
...SIMPLE_WEBHOOK_WORKFLOW,
name: createTestWorkflowName('Get Minimal - Inactive'),
tags: [
{ name: 'mcp-integration-test' },
{ name: 'minimal-test' }
'mcp-integration-test',
'minimal-test'
]
};
@@ -97,8 +97,8 @@ describe('Integration: handleGetWorkflowMinimal', () => {
...SIMPLE_WEBHOOK_WORKFLOW,
name: createTestWorkflowName('Get Minimal - Active'),
tags: [
{ name: 'mcp-integration-test' },
{ name: 'minimal-test-active' }
'mcp-integration-test',
'minimal-test-active'
]
};