⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.
TypeScript agenticagileai-agentsbug-reportingbug-trackerganttissue-trackerjirajira-alternativekanbanlinearlinear-alternativeopen-sourceproduct-managementproject-managementroadmapself-hostedsprint-planningteam-collaborationtrello-alternative
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { Bot } from 'lucide-react';
import { aiTeamEntries, type SettingsSection } from './settingsSections';
const section = (slug: string, menu?: string): SettingsSection => ({
slug,
icon: Bot,
resource: 'ai_agents',
group: 'ai-team',
menu,
});
describe('aiTeamEntries', () => {
it('folds the sections of one menu into one entry, where the first of them is', () => {
const entries = aiTeamEntries([
section('schedules'),
section('flows', 'flows'),
section('reports'),
section('flow-runs', 'flows'),
]);
assert.deepEqual(
entries.map((entry) =>
'section' in entry
? entry.section.slug
: `${entry.menu}: ${entry.sections.map((s) => s.slug).join(', ')}`,
),
['schedules', 'flows: flows, flow-runs', 'reports'],
);
});
});