Skip to content

Commit

Permalink
Merge pull request #33 from jasonmit/u/jasonmit/fix-node-6
Browse files Browse the repository at this point in the history
fix: target tough-cookie 2.x to preserve node 6 support
  • Loading branch information
analog-nico committed Feb 14, 2019
2 parents 4633d4c + 67f7ed2 commit c2c54c4
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 @@ -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');
}).to.not.throw();

});
Expand Down

0 comments on commit c2c54c4

Please sign in to comment.