First pass of projects test coverage

This commit is contained in:
Nick O'Leary
2018-01-16 23:04:39 +00:00
parent b76010cb5a
commit f95b414d22
11 changed files with 497 additions and 2 deletions

View File

@@ -17,6 +17,9 @@
var authCache = {}
module.exports = {
init: function() {
authCache = {};
},
clear: function(project,remote, user) {
if (user && remote && authCache[project] && authCache[project][remote]) {
delete authCache[project][remote][user];