-
Notifications
You must be signed in to change notification settings - Fork 55
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
Dude! Where are the tests? #3
Comments
|
Can I do this test? I can do Jest unit testing. |
Hey @mackignacio ! Thanks for the help, I really appreciate it. Please feel free to write some tests. The reason that I didn't write any test is not knowing the best approach to write integration tests for electron. Starting with unit tests, nonetheless, would be a good start! |
@yan-foto Thanks!!! |
@yan-foto I noticed that there are two functions to be tested and both of them are not testable. |
Not so fast 😄 ! Maybe the structure is not suitable for unit tests, but it sure is for integration tests. We should mock Does that make sense? |
Yeah that's also what I wanted to do. |
No description provided.
The text was updated successfully, but these errors were encountered: