Closed eakarsu closed 2 years ago
Hey @eakarsu , we just pushed a more recent commit which should hopefully solve the issue.
If it doesn't fix itself, can you please try deleting your local node_modules dir and check that you're using node 14+
Super Sean. Thanks for quick resolution. I will test it
Looks like all test cases passed. How can I test it against local hardhat node? thanks A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks.
Test Suites: 1 skipped, 94 passed, 94 of 95 total Tests: 29 skipped, 45 todo, 1012 passed, 1086 total Snapshots: 0 total Time: 360.352 s Ran all test suites in 11 projects. Done in 363.73s.
It is fixed
I had old version of code from August, whose test cases was working fine. I pulled the latest code as of today and run yarn install yarn compile cat .env
MAINNET
ETHEREUM_NODE_MAINNET=https://eth-mainnet.alchemyapi.io/v2/4gZBZgXw-GGmzJF3R6FTJvXKNK_XDTJn yarn test
Most of test cases are failing with same error output. Can you look at this?
● validateRule › does not allow an unlisted asset
● validateRule › allows listed assets
Test Suites: 90 failed, 1 skipped, 90 of 91 total Tests: 984 failed, 29 skipped, 44 todo, 1057 total Snapshots: 0 total Time: 46.101 s Ran all test suites in 10 projects.