DenoDDeno
Powered by
abiA
Denoβ€’3y agoβ€’
1 reply
abi

Testing my Oak `Application` end-to-end

I have an Oak application, and I'd like to test the main
const app = new Application()
const app = new Application()
configuration, making sure e.g. that all the routes are being found, etc.

I've only been able to find
createMockContext
createMockContext
, etc., but I can't figure out how to make a "mock server request" that would be accepted by
Application.handle
Application.handle
basically?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Deno testing with local oak server
fobbanFfobban / help
3y ago
how to document oak api
bigBbig / help
3y ago
HTTPS Oak Deno
ivandpfIivandpf / help
3y ago