mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 21:10:59 +00:00
test(pulse): prove the day-mean method across readers, the dry run's single write and the bounded heap
This commit is contained in:
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({
|
||||
|
||||
Reference in new issue
Block a user