diff options
author | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-11 08:01:15 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2018-09-12 00:39:16 +0800 |
commit | d60991ec88fe88be4041eb4a9392df6dfc1aa973 (patch) | |
tree | 59d7835b3df10a0d016ecf0c635fe25919ad6a94 /test/unit/app/controllers/notice-controller-test.js | |
parent | 1552fe1c3eb8571036f8e32a3b2c5895849d19f1 (diff) | |
download | tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.gz tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.bz2 tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.lz tangerine-wallet-browser-d60991ec88fe88be4041eb4a9392df6dfc1aa973.tar.xz 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.js | 7 |
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 () { |