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
Improve user-preferences test #868
Comments
Hey! I wanted to do this but I'm running into issues when running On RENDERER tests:
On MAIN tests
|
Hi @ochan12, did you install all dependencies using the |
Yes I did!
npm install
|
Could you also check the node |
Nope MacOS.
I also tried with newer versions, but same result |
Something that sometimes helps for me is to remove the node_modules folder and run ci + install from scratch. |
Which node version are you working with? Nope, same result after |
Mine are 8.19.2 npm and 18.10.0 node. |
@thamara has done development on a Mac, maybe she could help. |
It works if I remove the babel config from
But I don't think is something you wanna add |
If we don't find the cause, you could potentially use this custom configuration to develop the tests, but only commit the test changes and use the pull request test runs to confirm everything is fine. |
Hmm, I haven't done any programming in mac for a while now, but the CI we have has been able to run fine on macos, so it's looking like it may be something from your env. |
@thamara No luck on running just npm install, so I just kept the configuration locally. Thanks! |
Thanks @ochan12 😁 |
Describe the current limitation
The jest tests for user-preferences.js at
__tests__\__main__\user-preferences.js
today is not comprehensive with all the possible preferences. We should add new tests f`or each key available in the window. Check the file to see how we already test a few of the keys: default value -> change value and save -> check that save worked or failed as expected.The text was updated successfully, but these errors were encountered: