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
This commit is contained in:
czlonkowski
2025-07-29 18:09:03 +02:00
parent c5e012f601
commit e405346b3e
12 changed files with 435 additions and 394 deletions

View File

@@ -11,7 +11,7 @@ export * from './data/credentials';
export { http, HttpResponse } from 'msw';
// Export factory utilities
export { n8nHandlerFactory } from '../setup/msw-setup';
export { n8nHandlerFactory } from '../../setup/msw-setup';
export {
n8nApiMock,
testDataBuilders,