Skip to content

Commit

Permalink
fix: test case hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Aug 30, 2024
1 parent f7bb51b commit 7f92df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/service/payout-request-pdf-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ describe('PayoutRequestPdfService', async () => {

const payoutRequest = await PayoutRequest.findOne({ where: { id: 1 }, relations: ['requestedBy', 'payoutRequestStatus', 'transfer', 'transfer.to', 'transfer.from', 'pdf'] });
payoutRequest.pdfService = pdfService;
await expect(payoutRequest.createPdf()).to.eventually.be.rejectedWith();
await expect(await payoutRequest.createPdf()).to.eventually.be.rejectedWith();
});
});
});

0 comments on commit 7f92df6

Please sign in to comment.