fix: resolve TypeScript lint error in workflow validator test

- Fixed mock function type issue in workflow-validator-comprehensive.test.ts
- Changed mockImplementation pattern to direct vi.fn assignment
- All lint and typecheck tests now pass
This commit is contained in:
czlonkowski
2025-09-29 20:50:42 +02:00
parent fbce712714
commit 9cbbc6bb67

View File

@@ -523,7 +523,7 @@ describe('WorkflowValidator - Comprehensive Tests', () => {
} as any;
// Mock the normalized node lookup
mockNodeRepository.getNode.mockImplementation((type: string) => {
(mockNodeRepository.getNode as any) = vi.fn((type: string) => {
if (type === 'nodes-base.webhook') {
return {
nodeType: 'nodes-base.webhook',