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
Integrating Unit Testing tool for PMA's Javascript code #16405
Comments
|
And what are the pros and cons vs using mocha ? |
I might be wrong, but I think Jest would be better for Vanilla JS as in our case. I'm still looking into both of them. Please feel free to weigh in. |
phpMyAdmin uses a lot of jQuery as well. |
|
I looked at a couple of sites, but most of them have the same information - https://www.testim.io/blog/best-unit-testing-framework-for-javascript/
|
|
Could you open a pull request with some tests using Jest? |
Related to: phpmyadmin#16405 Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Related to: phpmyadmin#16405 Signed-off-by: Saksham Gupta <shucon01@gmail.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
We need to add a Unit Testing tool for our Javascript code to avoid bugs in the long run.
I think Jest would be a good tool for us.
cc @MauricioFauth @williamdes
The text was updated successfully, but these errors were encountered: