🤯 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 { expect, it } from 'vitest';
const createTask = (instruction: string) => {
if (!instruction.trim()) throw new Error('Missing task instruction');
return { instruction, status: 'backlog' };
};
const retiredTransfer = () => ({ enabled: false });
it('keeps task creation working while the old transfer is retired', () => {
const task = createTask('Launch');
expect(task).toEqual({ instruction: 'Launch', status: 'backlog' });
expect(retiredTransfer()).toEqual({ enabled: false });
});