From d4dbeb8b130a9c2598b54a7a90fa6fab531f3618 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 15 Aug 2014 19:54:39 -0400 Subject: [PATCH] rm unused code --- test/test.LocalEncrypted.js | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/test/test.LocalEncrypted.js b/test/test.LocalEncrypted.js index d010bc805..32149e58f 100644 --- a/test/test.LocalEncrypted.js +++ b/test/test.LocalEncrypted.js @@ -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';