1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

test - clear localStorage in case CI caches it (?)

This commit is contained in:
kumavis 2017-01-14 22:30:12 -08:00
parent 993daebc4e
commit 91e5cc0f29

View File

@ -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() {