Hey guys,
I'm curious about how to approach unit testing a class being utilized in the web framework, e.g checking routes return the correct content, that auth is being check correctly, etc.
I have seen the createTestHTTPServerRequest and createTestHTTPServerResponse functions, but I'm not entirely sure how to utilize them, does anyone have examples?
Thanks