🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { readFileSync } from 'node:fs';
import path from 'node:path';
import { describe, expect, it } from 'vitest';
const source = readFileSync(path.join(import.meta.dirname, 'trpcClient.client.ts'), 'utf8');
describe('workbench client lambda shim', () => {
it.each(['@/store/image', '@/store/chat', '@/services/_auth', '@/store/user', 'model-bank'])(
'does not import %s',
(needle) => {
expect(source).not.toContain(needle);
},
);
it('sends cookies and skips the image-page header stack', () => {
expect(source).toContain("credentials: 'include'");
expect(source).toContain("url: '/trpc/lambda'");
});
});