Skip to content
Snippets Groups Projects
Commit 5de212a1 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

expose a means to clear cookies from the wsapi request abstraction (browserid testing)

parent d0c374d3
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,8 @@ const http = require('http'),
// wsapi abstractions trivial cookie jar
var cookieJar = {};
exports.clearCookies = function() { cookieJar = {}; };
// A macro for wsapi requests
exports.get = function (path, getArgs) {
return function () {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment