π€― 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 { describe, expect, it } from 'vitest';
import { projectFavoriteTarget } from './projectFavorite';
describe('projectFavoriteTarget', () => {
// A slug can be renamed from Project Settings, so the favorite keeps the id link.
it('favorites the project under its id, not its renameable slug', () => {
expect(projectFavoriteTarget({ avatar: 'π', id: 'proj_1', name: 'LobeHub' })).toEqual({
icon: 'π',
path: '/project/proj_1',
targetId: 'proj_1',
title: 'LobeHub',
type: 'project',
});
});
});