import { describe, it, expect } from 'vitest'; describe('Connector Foundation', () => { it('exports connectorRoutes function', async () => { const mod = await import('../../src/local/routes/connectors.js'); expect(mod.connectorRoutes).toBeDefined(); expect(typeof mod.connectorRoutes).toBe('function'); }); }); describe('ConnectorDefinition Types', () => { it('shared types include connector types', async () => { // Verify the types compile correctly by importing them const types = await import('@waggle/shared'); // Type-level check — if this compiles, the types exist expect(types).toBeDefined(); }); });