Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update run.test.ts

Developers Digestb3677bdcc765
diff --git a/apps/api/src/services/monitoring/search/run.test.ts b/apps/api/src/services/monitoring/search/run.test.ts
index b1744c565..c8bf378df 100644
--- a/apps/api/src/services/monitoring/search/run.test.ts
+++ b/apps/api/src/services/monitoring/search/run.test.ts
@@ -323,6 +323,11 @@ describe("runSearchTarget orchestration", () => {
const seen = out.pageUpserts.find(u => u.status === "already_seen")!;
expect(seen.scraped).toBe(true);
expect(seen.metadata.searchStatus).toBe("already_seen");
+ expect(seen.judgment).toMatchObject({
+ meaningful: true,
+ reason: "filing confirmed",
+ meaningfulChanges: [],
+ });
});
it("uses the canonical URL as the event key (label is the verdict concept)", async () => {