-
Notifications
You must be signed in to change notification settings - Fork 135
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 TallyVotes.test.ts fails #1839
Comments
So those tests are not meant to be run with Jest, you can run that particular one using Also make sure you are using |
According to your method, I still cannot run it, and the above error persists. I am running an older version of the project, which has a bug: Initial Conditions Are Not Properly Enforced so I want to conduct tests. The old version includes a jest.config.js file, so I suspect it uses the Jest framework. However, I still haven't successfully run TallyVotes.test.ts. |
@Subway2023 I see, but based on the stack trace it doesn't look like you are running that old version, at the time the project was not using |
i just download this commit and perform above commands. |
ok so first you need to install the packages and build the monorepo. Also you'd need to install these libraries Line 7 in 4bc217d
You can see the steps required to make that specific version working in this file https://github.com/privacy-scaling-explorations/maci/blob/4bc217db24f573c1da5e24ad0caca596637c3dc8/.travis.yml You can Lines 11 to 14 in 4bc217d
Then maci/circuits/scripts/runTestsInCi.sh Line 6 in 4bc217d
Then ( no need for && ofc) maci/circuits/scripts/runTestsInCi.sh Line 10 in 4bc217d
|
Please try and start from a clean checkout of that branch, make sure to remove any node_modules you might have. Cause that error is coming from a library that was introduced this year, but the code you are trying to run is from years ago so there must be something stored locally. Also do not run run again |
Steps to Reproduce
Failure Logs
The text was updated successfully, but these errors were encountered: