Skip to content

Commit

Permalink
Workaround on the cookie processing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Shurgold committed Jan 13, 2019
1 parent 062d5f8 commit 1457338
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 1457338

Please sign in to comment.