From f8777a6adf924c33b5d641b293ac707df6d0c87e Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 15 Dec 2024 01:10:24 -0800 Subject: hack to delete uids --- tst/email.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tst/email.spec.ts') 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()), )(); -- cgit v1.2.3-70-g09d2