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() configuration, making sure e.g. that all the routes are being found, etc.

I've only been able to find createMockContext, etc., but I can't figure out how to make a "mock server request" that would be accepted by Application.handle basically?
Was this page helpful?