-
Notifications
You must be signed in to change notification settings - Fork 49
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
Test suite failing? #99
Comments
Did you simply run "npm install", or did you run "npm run install:ci"? I did the following: Removed Then ran Then simply ran: npm run test I ran this on Windows from "cmd" in Windows Terminal, Node.js v14.15.4 and npm v6.14.10. There is also docker setup that can be used to run the tests. |
@sondreb thanks for your answer! Unfortunately, it did not solve the problem. |
Based on the errors, I think you have not fully installed the dependencies with lerna. Make sure you go to root folder, edit the package.json by removing the "--since origin/master" from the "install:ci" script. Then run npm run install:ci Please notice that this is custom script, "install:ci". It is not enough to simply run "npm install". You should be able to run the test suite from root of repo, and it appears to work fine from within the "did-core-test-server" folder as well. |
@sondreb by following those very same instructions, the problem still persists (just tried again). My suspicion is that it depends on some local version of some tools/packages I have, but I cannot figure out what. It seems to be that the |
@Diiaablo95 I'm unable to reproduce the errors, I will try again this weekend with your branch to see if there are any errors. |
@Diiaablo95 For me the Dockerfile was a good reference. |
@BernhardFuchs it is getting more and more weird. I seem to be having the same issue, no matter what. It is just weird that EDIT: and I have the exact same problem if I just run the tests from the main branch. 🤷🏻♂️ |
update: I have also the exact same problem if I just run the tests from the main branch |
I was able to fix once I updated to Node 14.16.1 and ran |
Ok thanks @kdenhartog, I can confirm that with Node 14(.17.0) the tests are now passing without failing. I was previously running them with Node 12. Perhaps this could be specified somewhere in the README file. |
This is useful to prevent people from encountering the same issues as what @Diiaablo95 found in issue #99
@Diiaablo95 the packages.json should trigger a warning if something below Node 14 is used once PR #160 is merged |
This is useful to prevent people from encountering the same issues as what @Diiaablo95 found in issue #99.
This has been addressed now and is merged. Closing this issue. |
I don't know if it's just a problem I have, but I tried cloning the repo, installing the dependencies, and running the test suite that comes with the repo, and the tests are failing.
The error is the following:
which happens with each DID method in the Core Properties test suite. I am running
npm run test
from withindid-core-test-server
as instructed in the test README.Is there any solution to this?
The text was updated successfully, but these errors were encountered: