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

FULL DISCUSSION
 

Karma is a test runner that execute tests in a browser. It supports mocha and chai.

karma-runner.github.io/latest/inde...

I recommend to use mocks if you can but this tool can help if you can't or want to do e2e tests

code of conduct - report abuse