Ajout milestone

This commit is contained in:
2026-05-26 21:26:32 +02:00
parent 0dc81c7c80
commit 15049c4fe3
11 changed files with 911 additions and 2 deletions
+7 -2
View File
@@ -21,13 +21,18 @@ describe('Menu', () => {
expect(component).toBeTruthy();
});
it('should have three menu items', () => {
it('should have four menu items', () => {
const items = (component as any).menuItems as { label: string; path: string }[];
expect(items.length).toBe(3);
expect(items.length).toBe(4);
});
it('should contain Issues link', () => {
const items = (component as any).menuItems as { label: string; path: string }[];
expect(items.some((i) => i.path === '/issues')).toBe(true);
});
it('should contain Milestones link', () => {
const items = (component as any).menuItems as { label: string; path: string }[];
expect(items.some((i) => i.path === '/milestones')).toBe(true);
});
});