summaryrefslogtreecommitdiff
path: root/tst/email.spec.ts
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-12-15 01:10:24 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-12-15 01:10:24 -0800
commitf8777a6adf924c33b5d641b293ac707df6d0c87e (patch)
treeef21533760bc970d96d35f8c1eb21dcf9afae570 /tst/email.spec.ts
parent2e450aea9729feb6df9ce73094b16342e87ece19 (diff)
downloaduptime-f8777a6adf924c33b5d641b293ac707df6d0c87e.tar.gz
uptime-f8777a6adf924c33b5d641b293ac707df6d0c87e.zip
hack to delete uids
Diffstat (limited to 'tst/email.spec.ts')
-rw-r--r--tst/email.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tst/email.spec.ts b/tst/email.spec.ts
index 5f2aa90..7315816 100644
--- a/tst/email.spec.ts
+++ b/tst/email.spec.ts
@@ -146,7 +146,7 @@ test("cleans up sent messages from inbox", async () => {
perform(emailJob, mockDependencies),
TE.map(() => {
expect(imap.messageDelete).toHaveBeenCalledTimes(1);
- expect(imap.messageDelete).toHaveBeenCalledWith([1]);
+ expect(imap.messageDelete).toHaveBeenCalledWith([1], { uid: true });
}),
TE.mapLeft(() => expect(false).toBeTruthy()),
)();