The project includes E2E tests for StakeWise app.
First you need to install all packages and generate types:
npm install
After contract abi is added to src/contracts/abis
run:
npm run typechain
to generate contract types
npm run e2e
npm run e2e ethereumStaking
This command will run one or several tests that matches test name:
npm run e2e:test 'can reinvest all rETH'