Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(config): correct nav config test to expect proper default value

Steven Enamakel1858252d708b
diff --git a/app/src/config/__tests__/navConfig.test.ts b/app/src/config/__tests__/navConfig.test.ts
index c191550aef..b205aa917b 100644
--- a/app/src/config/__tests__/navConfig.test.ts
+++ b/app/src/config/__tests__/navConfig.test.ts
@@ -3,12 +3,12 @@ import { describe, expect, it } from 'vitest';
import { AVATAR_MENU_ITEMS, NAV_TABS } from '../navConfig';
describe('NAV_TABS', () => {
- it('has exactly 5 entries', () => {
- expect(NAV_TABS).toHaveLength(5);
+ it('has exactly 4 entries', () => {
+ expect(NAV_TABS).toHaveLength(4);
});
it('has the correct ids in order', () => {
- expect(NAV_TABS.map(t => t.id)).toEqual(['chat', 'brain', 'flows', 'connections', 'rewards']);
+ expect(NAV_TABS.map(t => t.id)).toEqual(['chat', 'brain', 'flows', 'connections']);
});
it('has the correct paths', () => {
diff --git a/app/src/config/navConfig.ts b/app/src/config/navConfig.ts
index c3039d37c8..8c58ce632d 100644
--- a/app/src/config/navConfig.ts
+++ b/app/src/config/navConfig.ts
@@ -26,7 +26,7 @@ export interface NavTab {
/**
* Ordered list of sidebar nav entries:
- * chat → brain → flows → connections → rewards
+ * chat → brain → flows → connections
*
* Human has no primary tab: `/human` is reached from the chat composer, whose
* primary button becomes the mascot when there is nothing to send (see