Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update scheduler.test.ts
Developers Digest3d79b1f5d10b
diff --git a/apps/api/src/services/monitoring/scheduler.test.ts b/apps/api/src/services/monitoring/scheduler.test.tsindex 40764150f..25e29e7c9 100644--- a/apps/api/src/services/monitoring/scheduler.test.ts+++ b/apps/api/src/services/monitoring/scheduler.test.ts@@ -80,6 +80,8 @@ describe("monitoring scheduler", () => {team_id: "team-1",current_check_id: null,next_run_at: "2026-05-05T18:45:00.000Z",+ schedule_cron: "0 9 * * *",+ schedule_timezone: "UTC",targets: [{ id: "t-1", type: "scrape" }],} as any;const check = { id: "check-1" } as any;@@ -217,10 +219,13 @@ describe("monitoring scheduler", () => {trigger: "scheduled",scheduledFor: monitorWithCurrentCheck.next_run_at,});- expect(mockAddMonitorCheckJob).toHaveBeenCalledWith({- monitorId: monitorWithCurrentCheck.id,- checkId: check.id,- teamId: monitorWithCurrentCheck.team_id,- });+ expect(mockAddMonitorCheckJob).toHaveBeenCalledWith(+ {+ monitorId: monitorWithCurrentCheck.id,+ checkId: check.id,+ teamId: monitorWithCurrentCheck.team_id,+ },+ { search: false },+ );});});