Closed dmytro-lymarenko closed 1 year ago
Thanks, not sure I understand because the standard Node.js (and Express) request handler is just a function callback, no promise.
@fridays, this is for koa routes. I'm using next js with koa as a custom server and I need to wait for it.
How should I write tests so its coverage passes?
This return statement should be there as that functions return promises and getRequestHandler just breaks promise chain.