Skip to content

Commit

Permalink
Merge pull request #299 from aomdoa/fixToughCookieDep
Browse files Browse the repository at this point in the history
Limit the tough-cookie to 2.5 as 3.x removes node 0.10 support
  • Loading branch information
analog-nico authored Feb 14, 2019
2 parents 131abd7 + 488947b commit c535eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/request-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ describe('Request-Promise', function () {
var cookiejar = rp.jar();

expect(function () {
cookiejar.setCookie(sessionCookie, 'https://api.mydomain.com');
cookiejar.setCookie(sessionCookie.toString(), 'https://api.mydomain.com');
}).to.not.throw();

});
Expand Down

0 comments on commit c535eb6

Please sign in to comment.