re: How to write tests for a library that requires being run on the browser (like Dexie.js or localforage)? VIEW POST

FULL DISCUSSION
 

Have you tried mocking local storage? Mock-Local-Storage looks like the package you need.

code of conduct - report abuse