Commit 0d88a491 by Ivana Huckova Committed by GitHub

Remove duplicated localStorage mock (#22872)

parent db85c3e7
import store from '../store';
Object.assign(window, {
localStorage: {
removeItem(key: string) {
delete window.localStorage[key];
},
},
});
describe('store', () => {
it('should store', () => {
store.set('key1', '123');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment