fix walletLock test

This commit is contained in:
Matias Alejo Garcia 2014-09-08 10:46:57 -03:00
commit f1e6d6cfc6
8 changed files with 269 additions and 153 deletions

View file

@ -5,8 +5,9 @@ function LocalStorage(opts) {
FakeLocalStorage = {};
FakeLocalStorage.length = 0;
FakeLocalStorage.removeItem = function(key) {
FakeLocalStorage.removeItem = function(key,cb) {
delete ls[key];
cb();
};
FakeLocalStorage.getItem = function(k,cb) {