What is an example of an app
in the Endpoint Testing docs?
#2692
Answered
by
novemberborn
corysimmons
asked this question in
Q&A
-
https://github.com/avajs/ava/blob/main/docs/recipes/endpoint-testing.md Would this just be something like: // ../app.js
module.exports = some_express_app |
Beta Was this translation helpful? Give feedback.
Answered by
novemberborn
Feb 21, 2021
Replies: 1 comment
-
The example uses the built-in |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
corysimmons
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example uses the built-in
http
module, so it would be arequestListener
along the lines of https://nodejs.org/docs/latest/api/http.html#http_http_createserver_options_requestlistener.