Binary package “node-mocks-http” in ubuntu oracular

Mock 'http' objects for testing Express routing functions

 Mock 'http' objects for testing Express routing functions, but could
 be used for testing any Node.js web server applications that have code
 that requires mockups of the request and response objects
 .
 Node.js is an event-based server-side JavaScript engine.