mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
Remove duplicated localStorage mock (#22872)
This commit is contained in:
parent
db85c3e7b9
commit
0d88a49126
@ -1,13 +1,5 @@
|
||||
import store from '../store';
|
||||
|
||||
Object.assign(window, {
|
||||
localStorage: {
|
||||
removeItem(key: string) {
|
||||
delete window.localStorage[key];
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
describe('store', () => {
|
||||
it('should store', () => {
|
||||
store.set('key1', '123');
|
||||
|
Loading…
Reference in New Issue
Block a user