paraswap-dex-lib
paraswap-dex-lib copied to clipboard
yarn test-integration not working
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?
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
Ran into same issue, should probably update the require to:
require('jest-cli').run()