mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
test(documents): format PDF cleanup coverage
This commit is contained in:
1 parent
b9425de40e
commit
3c5afea912
1 file changed
+5
-3
@@ -43,9 +43,11 @@ describe("rasterizePdf PDF.js lifecycle", () => {
|
||||
});
|
||||
|
||||
it("destroys the loading task after rendering", async () => {
|
||||
await expect(rasterizePdf(Buffer.from("synthetic"))).resolves.toMatchObject({
|
||||
ok: true,
|
||||
});
|
||||
await expect(rasterizePdf(Buffer.from("synthetic"))).resolves.toMatchObject(
|
||||
{
|
||||
ok: true,
|
||||
},
|
||||
);
|
||||
expect(destroyLoadingTask).toHaveBeenCalledOnce();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user