Skip to content

Commit

Permalink
test(express): added await to some tests. (#12439)
Browse files Browse the repository at this point in the history
  • Loading branch information
KostyaTretyak authored Jan 7, 2025
1 parent ab96e55 commit 41f19cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe("toWebRequest", () => {
const request = toWebRequest(req)

expectations = async () => {
expectMatchingJsonRequestBody(req, request)
await expectMatchingJsonRequestBody(req, request)
}

res.send("OK")
Expand All @@ -91,7 +91,7 @@ describe("toWebRequest", () => {
const request = toWebRequest(req)

expectations = async () => {
expectMatchingUrlEncodedRequestBody(req, request)
await expectMatchingUrlEncodedRequestBody(req, request)
}

res.send("OK")
Expand Down

0 comments on commit 41f19cc

Please sign in to comment.