Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/spec/request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe('Request-Promise-Native', function () {
var cookiejar = rp.jar();

expect(function () {
cookiejar.setCookie(sessionCookie, 'https://api.mydomain.com');
cookiejar.setCookie(sessionCookie.toString(), 'https://api.mydomain.com');
Copy link
Contributor Author

@jasonmit jasonmit Jan 9, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See: request/request-promise#277

Gets the CI back to being green for modern node versions. Likely a similar issue plagues Node 0.12.0 and iojs builds.

}).to.not.throw();

});
Expand Down