koa-better-modules / joi-router

Easy, rich and fully validated koa routing.
MIT License
4 stars 4 forks source link

fix(joi-router): incorrect assertion parameters order #10

Closed ninearif closed 6 months ago

ninearif commented 1 year ago

I found that the order of deepEqual assertion params is not in a correct order.

Here is the reference from official nodejs document.

https://nodejs.org/dist/v16.20.2/docs/api/assert.html#assertdeepequalactual-expected-message