decentdao / decent-contracts

Your Safe, Superpowered
https://app.fractalframework.xyz
MIT License
3 stars 3 forks source link

Test coverage #46

Closed tbwebb22 closed 1 year ago

tbwebb22 commented 1 year ago

Description

This PR updates the tests to get near 100% test coverage

All code lines are covered except for line 70 in VotesERC20, which is the _burn function. This function is internal and so cannot be called from a test, and is not called from any exposed external or public function. This function declaration is required to override the ERC20Upgradeable and ERC20VotesUpgradeable declarations of the _burn function

Notes

Issue / Notion doc (if applicable)

https://github.com/decent-dao/fractal-contracts/issues/34

Testing

Run npx hardhat coverage

Screenshots (if applicable)

image