Open masakudamatsu opened 4 years ago
We need to figure out how to test the fallback behavior.
How to mock sessionStorage.setItem() to throw error? This may be helpful: https://www.npmjs.com/package/jest-localstorage-mock
We need to figure out how to test the fallback behavior.
How to mock sessionStorage.setItem() to throw error? This may be helpful: https://www.npmjs.com/package/jest-localstorage-mock