aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/app/controllers/notice-controller-test.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-11 08:01:15 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-12 00:39:16 +0800
commitd60991ec88fe88be4041eb4a9392df6dfc1aa973 (patch)
tree59d7835b3df10a0d016ecf0c635fe25919ad6a94 /test/unit/app/controllers/notice-controller-test.js
parent1552fe1c3eb8571036f8e32a3b2c5895849d19f1 (diff)
downloadtangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.gz
tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.zst
tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.zip
Delete ConfigManager, replacing its usages with PreferencesController
Diffstat (limited to 'test/unit/app/controllers/notice-controller-test.js')
-rw-r--r--test/unit/app/controllers/notice-controller-test.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/unit/app/controllers/notice-controller-test.js b/test/unit/app/controllers/notice-controller-test.js
index b3ae75080..5e6ae9ac5 100644
--- a/test/unit/app/controllers/notice-controller-test.js
+++ b/test/unit/app/controllers/notice-controller-test.js
@@ -1,16 +1,11 @@
const assert = require('assert')
-const configManagerGen = require('../../../lib/mock-config-manager')
const NoticeController = require('../../../../app/scripts/notice-controller')
describe('notice-controller', function () {
var noticeController
beforeEach(function () {
- // simple localStorage polyfill
- const configManager = configManagerGen()
- noticeController = new NoticeController({
- configManager: configManager,
- })
+ noticeController = new NoticeController({})
})
describe('notices', function () {