mirror of https://github.com/BTCPrivate/copay.git
rm unused code
This commit is contained in:
parent
53f9036c12
commit
d4dbeb8b13
|
@ -1,27 +1,8 @@
|
|||
//Crypto Mock
|
||||
CryptoJS = {};
|
||||
CryptoJS.AES = {};
|
||||
CryptoJS.AES.encrypt = function(a) {
|
||||
return a;
|
||||
};
|
||||
|
||||
CryptoJS.enc = {
|
||||
utf8: ''
|
||||
};
|
||||
|
||||
CryptoJS.AES.decrypt = function(a) {
|
||||
return a;
|
||||
};
|
||||
|
||||
'use strict';
|
||||
var chai = chai || require('chai');
|
||||
var should = chai.should();
|
||||
var is_browser = typeof process == 'undefined' || typeof process.versions === 'undefined';
|
||||
if (is_browser) {
|
||||
var copay = require('copay'); //browser
|
||||
} else {
|
||||
var copay = require('../copay'); //node
|
||||
}
|
||||
var copay = copay || require('../copay');
|
||||
var LocalEncrypted = copay.StorageLocalEncrypted;
|
||||
|
||||
var fakeWallet = 'fake-wallet-id';
|
||||
|
|
Loading…
Reference in New Issue