fix walletLock test
This commit is contained in:
parent
b3ed2a2ea8
commit
f1e6d6cfc6
8 changed files with 269 additions and 153 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue