Skip to content
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

yarn test-integration not working #450

Open
0xHans1 opened this issue Jul 24, 2023 · 2 comments
Open

yarn test-integration not working #450

0xHans1 opened this issue Jul 24, 2023 · 2 comments

Comments

@0xHans1
Copy link

0xHans1 commented Jul 24, 2023

Hi paraswap team,

working on swapline integration for paraswap. I tryed to run the first tests but (at least on windows) it seams that test script calls the wrong jest file

The script "script/dex-integration" calls require('../node_modules/jest-cli/build/cli').run(...) but on my node-modules their is no "cli" file within the jest-cli folder.

Can you check if the path is still valid?

@0xHans1
Copy link
Author

0xHans1 commented Jul 24, 2023

Update: changing the path to require('../node_modules/jest-cli/build') resolves the issue. So maybe you can check on your site if its a version problem of jest

@oxSaturn
Copy link
Contributor

oxSaturn commented Aug 31, 2023

Ran into same issue, should probably update the require to:

require('jest-cli').run()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants