Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -34,11 +34,7 @@ describe("QueuedMailProvider sendAt normalization", () => {
|
||||
|
||||
await provider.send({ to: ["user@example.com"], subject: "Later", text: "Hello", sendAt: epochSeconds });
|
||||
|
||||
expect(queue.add).toHaveBeenCalledWith(
|
||||
"send-transactional-email",
|
||||
expect.objectContaining({ sendAt: epochSeconds }),
|
||||
expect.any(Object)
|
||||
);
|
||||
expect(queue.add).toHaveBeenCalledWith("send-transactional-email", expect.objectContaining({ sendAt: epochSeconds }), expect.any(Object));
|
||||
});
|
||||
|
||||
test("converts a Date sendAt to floored unix seconds", async () => {
|
||||
@@ -53,10 +49,6 @@ describe("QueuedMailProvider sendAt normalization", () => {
|
||||
sendAt: new Date(1_778_580_001_999),
|
||||
});
|
||||
|
||||
expect(queue.add).toHaveBeenCalledWith(
|
||||
"send-transactional-email",
|
||||
expect.objectContaining({ sendAt: 1_778_580_001 }),
|
||||
expect.any(Object)
|
||||
);
|
||||
expect(queue.add).toHaveBeenCalledWith("send-transactional-email", expect.objectContaining({ sendAt: 1_778_580_001 }), expect.any(Object));
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user