We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8836097 commit 1278511Copy full SHA for 1278511
__tests__/localStorage.js
@@ -20,7 +20,7 @@ describe('LocalStorage utilities', () => {
20
});
21
22
it('should not throw exceptions if localStorage is undefined', () => {
23
- delete window.localStorage;
+ Reflect.deleteProperty(window, 'localStorage');
24
25
expect(saveState(data)).toBeUndefined();
26
expect(loadState()).toBeUndefined();
0 commit comments