Skip to content

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

fix(test): update test to use existing developer-only entry

Steven Enamakel98b5489bfa48
diff --git a/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts b/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts
index bf9337e91b..a0cf0e063c 100644
--- a/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts
+++ b/app/src/components/settings/__tests__/settingsRouteRegistry.test.ts
@@ -64,7 +64,9 @@ describe('findEntryById', () => {
});
it('returns the correct section for a developer-only entry', () => {
- const entry = findEntryById('cron-jobs');
+ // `cron-jobs` used to stand in here; it left the registry when the cron
+ // surface moved to `/flows?view=schedules`. `event-log` is the same shape.
+ const entry = findEntryById('event-log');
expect(entry).toBeDefined();
expect(entry!.section).toBe('developer');
expect(entry!.devOnly).toBe(true);