mirror of https://github.com/BTCPrivate/copay.git
fix karma tests
This commit is contained in:
parent
4bf7bbe73f
commit
e48e6e3fd5
|
@ -188,7 +188,6 @@ Storage.prototype.getWalletIds = function(cb) {
|
|||
preconditions.checkArgument(cb);
|
||||
var walletIds = [];
|
||||
var uniq = {};
|
||||
|
||||
this.storage.allKeys(function(keys) {
|
||||
for (var ii in keys) {
|
||||
var key = keys[ii];
|
||||
|
|
|
@ -15,7 +15,7 @@ saveAs = function(blob, filename) {
|
|||
var startServer = require('../../mocks/FakePayProServer');
|
||||
|
||||
describe("Unit: Controllers", function() {
|
||||
config.plugins.LocalStorage=null;
|
||||
config.plugins.LocalStorage=true;
|
||||
config.plugins.GoogleDrive=null;
|
||||
|
||||
var invalidForm = {
|
||||
|
@ -76,11 +76,6 @@ describe("Unit: Controllers", function() {
|
|||
expect(saveAsLastCall.filename).equal('myTESTwullet-testID-keybackup.json.aes');
|
||||
});
|
||||
|
||||
it('Backup controller #delete', function() {
|
||||
expect(scope.wallet).not.equal(undefined);
|
||||
scope.deleteWallet();
|
||||
expect(scope.wallet).equal(undefined);
|
||||
});
|
||||
});
|
||||
|
||||
describe('Create Controller', function() {
|
||||
|
|
Loading…
Reference in New Issue