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); }); }); });