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\n\nThe test for `findEntryById` was using `cron-jobs` as the developer-only entry, but that entry was removed from the registry when the cron surface moved to `/flows?view=schedules`. The test now uses `event-log`, which has the same shape and remains in the registry.\n\nAuto-committed-on: macbook\n

Steven Enamakel0c5a5f663522
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);