Files
n8n-mcp/tests/mocks/n8n-api/index.ts
czlonkowski e405346b3e fix: resolve all TypeScript and lint errors in integration tests
- Fixed InMemoryTransport destructuring (object → array)
- Updated all callTool calls to new object syntax
- Changed getServerInfo() to getServerVersion()
- Added type assertions for response objects
- Fixed import paths and missing imports
- Corrected template and performance test type issues
- All 56 TypeScript errors resolved

Both 'npm run lint' and 'npm run typecheck' now pass successfully
2025-07-29 18:09:03 +02:00

19 lines
467 B
TypeScript

/**
* Central export for all n8n API mocks
*/
export * from './handlers';
export * from './data/workflows';
export * from './data/executions';
export * from './data/credentials';
// Re-export MSW utilities for convenience
export { http, HttpResponse } from 'msw';
// Export factory utilities
export { n8nHandlerFactory } from '../../setup/msw-setup';
export {
n8nApiMock,
testDataBuilders,
mswTestServer
} from '../../integration/setup/msw-test-server';