aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-12-17 03:58:15 +0800
committerkumavis <aaron@kumavis.me>2016-12-17 03:58:15 +0800
commit4c390a622137b34687866ce0ec937b8dd54a3c1a (patch)
tree41dc65943b6b2e51d4956f5979134c852589b9bc /test/unit
parent1458b8c68ec1ae5e043d9ea08a862a38966b22c1 (diff)
downloadtangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar.gz
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar.bz2
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar.lz
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar.xz
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.tar.zst
tangerine-wallet-browser-4c390a622137b34687866ce0ec937b8dd54a3c1a.zip
clean - code style
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/config-manager-test.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/unit/config-manager-test.js b/test/unit/config-manager-test.js
index 4283c516c..409a7b3f7 100644
--- a/test/unit/config-manager-test.js
+++ b/test/unit/config-manager-test.js
@@ -1,13 +1,12 @@
const assert = require('assert')
const extend = require('xtend')
-const STORAGE_KEY = 'metamask-persistance-key'
-var configManagerGen = require('../lib/mock-config-manager')
-var configManager
-var testList
const rp = require('request-promise')
const nock = require('nock')
+var configManagerGen = require('../lib/mock-config-manager')
+const STORAGE_KEY = 'metamask-persistance-key'
describe('config-manager', function() {
+ var configManager
beforeEach(function() {
window.localStorage = {} // Hacking localStorage support into JSDom