Ajout milestone
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user