test(pulse): prove the day-mean method across readers, the dry run's single write and the bounded heap

This commit is contained in:
Marc-André Bombeck committed 2026-10-16 01:07:24 +02:00
1 parent 9f17cef8e4
commit 46e82efe22
5 files changed
+431 -5

No files matched your search

@@ -167,7 +167,10 @@ describe("POST dry_run", () => {
expect(send).toHaveBeenCalledWith(
"pulse-day-mean",
{ action: "dry_run" },
expect.objectContaining({ retryLimit: 0, singletonKey: "pulse-day-mean" }),
expect.objectContaining({
retryLimit: 0,
singletonKey: "pulse-day-mean",
}),
);
expect(prisma.appSettings.upsert).toHaveBeenCalledWith(
expect.objectContaining({