3 ms·
> Except when you want to test edge cases (specific error messages from the server, time outs during response, errors on the network level, etc). Yep, these fe
by ruppel 10y ago
> Except when you want to test edge cases (specific error messages from the server, time outs during response, errors on the network level, etc).
Yep, these features are definitely on our roadmap. This is one of the reasons we chose node modules as a tape format: it's just javascript. For example, if you want to add a delay, simply edit your tape and wrap res.end in a setTimeout. Additionally, I want to [make it so tapes format the response according the content-type][1] so that you can easily edit them by hand and have complete control over the response.
[1]: https://github.com/flickr/yakbak/issues/2 https://github.com/flickr/yakbak/issues/2