-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unit tests #76
Comments
On the way of finding a nice unit testing library… (for WebExtension & ES6 moduloe-compatile tests) If anyone has any experience/suggestions, feel free to comment.
So I'd consider Mocha and https://istanbul.js.org/… but we'll see. |
It should be just as usual. Just mock the WebExtension API globals and it will be fine. As for framework, I'd suggest ava or tap they are simple and a less complicated API. My 2 cents. |
The problems here are mocking ES6 modules. I guess I'll use mocha and sinon. Good thing is it can also run in a browser. ava or so features parallel text executions, which I don't really need. |
I heard that's something one should do… 😜
The text was updated successfully, but these errors were encountered: