AFi Testcases execution on mainnet fork:
npx hardhat node --fork "https://rpc.soniclabs.com"
npx hardhat test ./test/AFiBase.test.js
npx truffle run coverage
$ npx hardhat coverage --solcoverjs ./.solcover.js keep the node running on other terminal
Missing or unexpected coverage? Make sure you're using the latest plugin version and run:
$ npx hardhat clean
$ npx hardhat compile
$ npx hardhat coveragenpx hardhat test ./test/Exchanges/AtvUSDC.js npx ts-node src/add-liquidity.ts
$ npx hardhat clean & npx hardhat compile & npx hardhat coverage test