aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/notice-controller-test.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-01-15 14:30:12 +0800
committerkumavis <aaron@kumavis.me>2017-01-15 14:30:12 +0800
commit91e5cc0f29df68dc57edc3404d90d969e4345bf2 (patch)
tree7ec8810bdfa2cd621e5ccc65c899a1b432422751 /test/unit/notice-controller-test.js
parent993daebc4e67346b8eeedb0af50e34bc451d0400 (diff)
downloadtangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar.gz
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar.bz2
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar.lz
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar.xz
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.tar.zst
tangerine-wallet-browser-91e5cc0f29df68dc57edc3404d90d969e4345bf2.zip
test - clear localStorage in case CI caches it (?)
Diffstat (limited to 'test/unit/notice-controller-test.js')
-rw-r--r--test/unit/notice-controller-test.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/notice-controller-test.js b/test/unit/notice-controller-test.js
index 4aa4c8e7b..e953fc580 100644
--- a/test/unit/notice-controller-test.js
+++ b/test/unit/notice-controller-test.js
@@ -6,6 +6,7 @@ const configManagerGen = require('../lib/mock-config-manager')
const NoticeController = require('../../app/scripts/notice-controller')
const STORAGE_KEY = 'metamask-persistance-key'
// Hacking localStorage support into JSDom
+if (window.localStorage) window.localStorage.clear()
window.localStorage = {}
describe('notice-controller', function() {