Skip to content

Commit 1457338

Browse files
author
David Shurgold
committed
Workaround on the cookie processing test.
1 parent 062d5f8 commit 1457338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/spec/request-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ describe('Request-Promise', function () {
208208
var cookiejar = rp.jar();
209209

210210
expect(function () {
211-
cookiejar.setCookie(sessionCookie, 'https://api.mydomain.com');
211+
cookiejar.setCookie(sessionCookie.toString(), 'https://api.mydomain.com');
212212
}).to.not.throw();
213213

214214
});

0 commit comments

Comments
 (0)