- 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
19 lines
467 B
TypeScript
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'; |