PluginManager coverage tests.
This commit is contained in:
parent
93907dbfd1
commit
f5e0dfa58d
3 changed files with 20 additions and 1 deletions
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
function FakeLocalStorage() {
|
||||
this.ls = {};
|
||||
this.type = 'DB';
|
||||
};
|
||||
|
||||
FakeLocalStorage.prototype.init = function() {
|
||||
};
|
||||
|
||||
FakeLocalStorage.prototype.removeItem = function(key, cb) {
|
||||
delete this.ls[key];
|
||||
cb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue