Skip to content

Commit c2c54c4

Browse files
authoredFeb 14, 2019
Merge pull request #33 from jasonmit/u/jasonmit/fix-node-6
fix: target tough-cookie 2.x to preserve node 6 support
2 parents 4633d4c + 67f7ed2 commit c2c54c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/spec/request-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe('Request-Promise-Native', function () {
146146
var cookiejar = rp.jar();
147147

148148
expect(function () {
149-
cookiejar.setCookie(sessionCookie, 'https://api.mydomain.com');
149+
cookiejar.setCookie(sessionCookie.toString(), 'https://api.mydomain.com');
150150
}).to.not.throw();
151151

152152
});

0 commit comments

Comments
 (0)
Please sign in to comment.