The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(settings): correct route registry test for missing default export
Steven Enamakelafb61d62b405
diff --git a/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts b/app/src/components/settings/__tests__/settingsRouteRegistry.test.tsindex f172242019..e01b0fc9f6 100644--- a/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts+++ b/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts@@ -21,10 +21,12 @@ import {describe('entryRoute', () => {it('returns the explicit route when set', () => {- // 'notifications' entry has route: 'notifications' set explicitly.- const entry = findEntryById('notifications');- expect(entry).toBeDefined();- expect(entryRoute(entry!)).toBe('notifications');+ // No live registry entry currently sets an explicit `route` override (the+ // 'notifications' entry that used to was removed with the Notifications+ // settings page), so this exercises the helper directly against a+ // synthetic entry instead of registry data.+ const entry = { id: 'foo', route: 'bar', titleKey: 'x', section: 'home' as const };+ expect(entryRoute(entry)).toBe('bar');});it('falls back to the id when no explicit route is set', () => {