diff --git a/packages/frameworks-express/test/http-api-adapters/request.test.ts b/packages/frameworks-express/test/http-api-adapters/request.test.ts index d042deb0b8..870c60b99b 100644 --- a/packages/frameworks-express/test/http-api-adapters/request.test.ts +++ b/packages/frameworks-express/test/http-api-adapters/request.test.ts @@ -67,7 +67,7 @@ describe("toWebRequest", () => { const request = toWebRequest(req) expectations = async () => { - expectMatchingJsonRequestBody(req, request) + await expectMatchingJsonRequestBody(req, request) } res.send("OK") @@ -91,7 +91,7 @@ describe("toWebRequest", () => { const request = toWebRequest(req) expectations = async () => { - expectMatchingUrlEncodedRequestBody(req, request) + await expectMatchingUrlEncodedRequestBody(req, request) } res.send("OK")