Injects a fake HTTP request/response into a node HTTP server


Keywords
utilities, http, debug, test
License
ICU
Install
npm install shot@0.0.10

Documentation

@hapi/shot

Injects a fake HTTP request/response into your node server logic.

shot is part of the hapi ecosystem and was designed to work seamlessly with the hapi web framework and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out hapi – they work even better together.

Visit the hapi.dev Developer Portal for tutorials, documentation, and support

Useful resources