-
Notifications
You must be signed in to change notification settings - Fork 9
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
Failed tests #113
Comments
Which tests fail? Can you paste a complete log files? |
|
odd! have not seen any failing tests like that before. this happens with a clean repo e.g. just after cloning the repo, ran yarn, then yarn test? the only difference i can see from my test environment is that you are using windows and i have linux but not sure why that would change anything |
can confirm that booting up a windows VM from modern.ie (MSEdge on Win10) https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/ and testing on that platform has the same errors posted by @0xorial |
is there any potential to get our CI on windows? |
might be able to do CI on windows. random note: wsl on windows works ok, it is just plain old windows that has the issue |
looks like the failed tests are three so-called 'extended' tests which reference test data that is not in the main repo using symlinks (see arrow icons here) https://github.com/GMOD/cram-js/tree/master/test/data/extended that are only valid on dev machines, they were only used during early library development i think the reason these tests fail on windows is because git on windows clones the symlinks wrong by default, and then the logic in the tests for detecting the symlinks gets confused and thinks that they are valid, and then fails to interpret them there are about 3 failed tests corresponding to the 3 extended tests maybe we can probably remove the extended data tests or reduce them in size. alternatively, you can use wsl, as mentioned above, or
This helps preserve the symlinks. Requires administrative console in windows |
should be able to just use normal clone and test now on master branch, the extended tests are removed now |
thanks for reporting :) |
If I run
yarn run tests
I get 3 tests failed. Is that normal?The text was updated successfully, but these errors were encountered: