From 8dd8c079e76ec6fd21ee72476a40098acf57098b Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 12 Jun 2023 19:02:12 +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 be7dad4cb3..63cdc572c7 100644 --- a/src/patcher/from-docx.spec.ts +++ b/src/patcher/from-docx.spec.ts @@ -361,7 +361,7 @@ describe("from-docx", () => { }, }, }), - ).to.eventually.be.rejected); + ).rejects); }); describe("Images", () => { @@ -398,7 +398,7 @@ describe("from-docx", () => { }, }, }), - ).to.eventually.be.rejected); + ).rejects); }); }); });