We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsed body isn't available in promise result, because parsed body is passed to end(fn) callback as separated parameter
end(fn)
hippie/lib/hippie/client.js
Lines 385 to 388 in 34e0789
E.g. in the following example res.body is always string:
res.body
hippie(app) .json() .get('/') .end() .then((res) => { assert(typeof res.body !== 'string'); });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Parsed body isn't available in promise result, because parsed body is passed to
end(fn)
callback as separated parameterhippie/lib/hippie/client.js
Lines 385 to 388 in 34e0789
E.g. in the following example
res.body
is always string:The text was updated successfully, but these errors were encountered: