Contracts that enable deposits to farm points.
Before running tests and coverage, ensure you have the following installed:
Install node modules:
yarn install
To run tests use the following command:
forge test
Generate the report by running:
forge coverage --report lcov && \
lcov --remove lcov.info -o lcov.info \
'contracts/mocks/*' \
'contracts/farm/test/*' \
'test/*' \
&& genhtml -o report --branch-coverage lcov.info
Coverage file is lcov.info
and in the report
directory, the file index.html
is the one to visualize the report.
The report excludes out of scope contracts.
UNLICENSED