hippie icon indicating copy to clipboard operation
hippie copied to clipboard

End-to-end API testing made easy

Results 18 hippie issues
Sort by recently updated
recently updated
newest added

Hi, I've been using this library with TypeScript. I noticed there isn't any typings for hippie available in npm. Could you please publish typings for hippie? Thanks!

Parsed body isn't available in promise result, because parsed body is passed to `end(fn)` callback as separated parameter https://github.com/vesln/hippie/blob/34e078903e5909c86b4010165df023d9099d2514/lib/hippie/client.js#L385-L388 E.g. in the following example `res.body` is always string: ```js hippie(app)...

I assumed that you can do additional validation in `.end(fn)` with `fn` being the validation methods. But it seems like errors thrown from there are just swallowed.

Warning depend on deprecated node-uuid package

Sometimes I don't care about header's value.

Hi, Could you please make the jar function from request accessible? https://github.com/request/request#requestjar With this function it would be possible to create multiple cookie jars. Thanks, Daniel

enhancement

I just hit this with an API I'm developing (...typos... :tired_face:). `http` in node is unforgiving, so invalid headers throw `HPE_INVALID_HEADER_TOKEN`: ``` { [Error: Parse Error] bytesParsed: 163, code: 'HPE_INVALID_HEADER_TOKEN'...