From d08349f8eb0345b0e679107ad8d2e705c5f90785 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 12 Jun 2023 19:19:41 +0100 Subject: [PATCH] Fix tests --- src/patcher/from-docx.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/patcher/from-docx.spec.ts b/src/patcher/from-docx.spec.ts index 63cdc572c7..088d0b715d 100644 --- a/src/patcher/from-docx.spec.ts +++ b/src/patcher/from-docx.spec.ts @@ -361,7 +361,7 @@ describe("from-docx", () => { }, }, }), - ).rejects); + ).rejects.toThrowError()); }); describe("Images", () => { @@ -398,7 +398,7 @@ describe("from-docx", () => { }, }, }), - ).rejects); + ).rejects.toThrowError()); }); }); });