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:
parent
993daebc4e
commit
91e5cc0f29
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user