-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Running tests on Windows #323
Comments
Looks like this is done now. |
With new changes, this fails again on Windows |
What version of Windows do you use? What command interpreter? |
Windows 10 64 bit
Same output with cmd. |
Also, since shebangs are not supported on Windows, |
I get the same issue. Suggest removing the if and having a separate npm script for coverage as a quick fix, plus the other changes would be nice too. I can make a PR next week unless @aneeshd16 wants to take it before then? |
let me think about something |
See #831 |
Nice 👍 |
@steven-supersolid Does this work for you? It still throws an error on my system:
|
Use `npm run test:win` to run tests on Windows. Fixes parse-community#323. Variables like `$COVERAGE_OPTION` are not supported in Windows.
Yes I got the same issue, also npm run coverage doesn't work either but #886 does allow the tests to be run (I get a TypeError on a test but not sure if that is a problem on my end) |
Yes, I get the same error. I too thought it was only on my end
Seems like |
there is a big change a |
Changing |
It depends if you want to propagate the error or just swallow it |
Okay modified the test to fail if it gets an empty array: #946 |
I have been playing around with FileLoggerAdapter and there are multiple problems that need to be solved:
I am starting to wonder if it is really worth the trouble to fix this. |
I didn't get anywhere with this either. It seems the logs are not even being written on Windows and for me I don't mind that parse-server will not run on Windows, but I do want the tests to run. |
Running npm test gives an error with babel-node / babel-instanbul
I added cross-env to enable setting environment variables in npm script. I want to submit a PR with this change and a fix to get babel working if possible.
The text was updated successfully, but these errors were encountered: