🤯 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 { filterMyInboxTopics } from './scopeTogglePlacement';
describe('filterMyInboxTopics', () => {
it('keeps only the rows the viewer started', () => {
const topics = [
{ id: 'mine', userId: 'me' },
{ id: 'theirs', userId: 'teammate' },
];
expect(filterMyInboxTopics(topics, 'me')).toEqual([topics[0]]);
});
});