feat: actually diff reports #20
Annotations
3 errors and 1 warning
src/lib.spec.ts > lib > should generate a well formatted coverage report with empty root:
src/lib.spec.ts#L11
Error: Snapshot `lib > should generate a well formatted coverage report with empty root 1` mismatched
- Expected
+ Received
"| File | Line Coverage | Function Coverage | Branch Coverage |
| --- | ---: | ---: | ---: |
- | src/contracts/access-control/OwnableWithGuardian.sol | ${\color{red}70%}$<br />$7 / 10$ | ${\color{red}62.5%}$<br />$5 / 8$ | ${\color{red}50%}$<br />$2 / 4$ |
+ | src/contracts/access-control/OwnableWithGuardian.sol | ${\color{red}70%}$<br />$7 / 10$<br />[15](src/contracts/access-control/OwnableWithGuardian.sol#L15),[20](src/contracts/access-control/OwnableWithGuardian.sol#L20),[44](src/contracts/access-control/OwnableWithGuardian.sol#L44) | ${\color{red}62.5%}$<br />$5 / 8$<br />[OwnableWithGuardian.onlyGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L14),[OwnableWithGuardian.onlyOwnerOrGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L19),[OwnableWithGuardian._checkGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L43) | ${\color{red}50%}$<br />$2 / 4$ |
- | src/contracts/access-control/UpgradeableOwnableWithGuardian.sol | ${\color{green}100%}$<br />$14 / 14$ | ${\color{green}100%}$<br />$9 / 9$ | ${\color{green}100%}$<br />$2 / 2$ |
+ | src/contracts/access-control/UpgradeableOwnableWithGuardian.sol | ${\color{green}100%}$<br />$14 / 14$<br /> | ${\color{green}100%}$<br />$9 / 9$<br /> | ${\color{green}100%}$<br />$2 / 2$ |
- | src/contracts/create3/Create3.sol | ${\color{orange}92.86%}$<br />$13 / 14$ | ${\color{red}80%}$<br />$4 / 5$ | ${\color{red}33.33%}$<br />$1 / 3$ |
+ | src/contracts/create3/Create3.sol | ${\color{orange}92.86%}$<br />$13 / 14$<br />[66](src/contracts/create3/Create3.sol#L66) | ${\color{red}80%}$<br />$4 / 5$<br />[Create3.create3](src/contracts/create3/Create3.sol#L62) | ${\color{red}33.33%}$<br />$1 / 3$ |
- | src/contracts/create3/Create3Factory.sol | ${\color{green}100%}$<br />$4 / 4$ | ${\color{green}100%}$<br />$2 / 2$ | ${\color{green}100%}$<br />$0 / 0$ |
+ | src/contracts/create3/Create3Factory.sol | ${\color{green}100%}$<br />$4 / 4$<br /> | ${\color{green}100%}$<br />$2 / 2$<br /> | ${\color{green}100%}$<br />$0 / 0$ |
- | src/contracts/oz-common/Ownable.sol | ${\color{red}80%}$<br />$8 / 10$ | ${\color{red}71.43%}$<br />$5 / 7$ | ${\color{red}50%}$<br />$2 / 4$ |
- | src/contracts/oz-common/SafeERC20.sol | ${\color{red}13.64%}$<br />$3 / 22$ | ${\color{red}25%}$<br />$2 / 8$ | ${\color{red}0%}$<br />$0 / 4$ |
+ | src/contracts/oz-common/Ownable.sol | ${\color{red}80%}$<br />$8 / 10$<br />[37](src/contracts/oz-common/Ownable.sol#L37),[63](src/contracts/oz-common/Ownable.sol#L63) | ${\color{red}71.43%}$<br />$5 / 7$<br />[Ownable.onlyOwner](src/contracts/oz-common/Ownable.sol#L36),[Ownable.renounceOwnership](src/contracts/oz-common/Ownable.sol#L62) | ${\color{red}50%}$<br />$2 / 4$ |
+ | src/contracts/oz-common/SafeERC20.sol | ${\color{red}13.64%}$<br />$3 / 22$<br />[46](src/contracts/oz-common/SafeERC20.sol#L46),[54](src/contracts/oz-common/SafeERC20.sol#L54),[55](src/contracts/oz-common/SafeERC20.sol#L55),[64](src/contracts/oz-common/SafeERC20.sol#L64),[65](src/contracts/oz-common/SafeERC20.sol#L65),[66](src/contracts/oz-common/SafeERC20.sol#L66),[68](src/contracts/oz-common/SafeERC20.sol#L68),[78](src/contracts/oz-common/SafeERC20.sol#L78),[80](src/contracts/oz-common/SafeERC20.sol#L80),[81](src/contracts/oz-common/SafeERC20.sol#L81),[82](src/contracts/oz-common/SafeERC20.sol#L82),[100](src/contracts/oz-common/SafeERC20.sol#L100),[101](src/contracts/oz-common/SafeERC20.sol#L101),[102](src/contracts/oz-common/SafeERC20.sol#L102),[103](src/contracts/oz-common/SafeERC20.sol#L103),[104](src/contracts/oz-common/SafeERC20.sol#L104),[121](src/contracts/oz-common/SafeERC20.sol#L121),[138](src/contracts/oz-common/SafeERC20.sol#L138),[139](src/contracts/oz-common/SafeERC20.sol#L139) | ${\color{red}25%}$<br />$2 / 8$<br />[SafeERC20.safeTransferFrom](src/contracts/oz-common/SafeERC20.sol#L45),[SafeERC20.safeIncreaseAllowance](src/contracts/oz-common/SafeERC20.sol#L53),[SafeERC20.safeDecreaseAllowance](src/contracts/oz-common
|
src/lib.spec.ts > lib > should generate a well formatted report with existing root:
src/lib.spec.ts#L22
Error: Snapshot `lib > should generate a well formatted report with existing root 1` mismatched
- Expected
+ Received
"| File | Line Coverage | Function Coverage | Branch Coverage |
| --- | ---: | ---: | ---: |
- | src/contracts/access-control/OwnableWithGuardian.sol | $^{↓-13%}{\color{red}70%}$<br />$7 / 10$ | $^{↓-17%}{\color{red}62.5%}$<br />$5 / 8$ | ${\color{red}50%}$<br />$2 / 4$ |
+ | src/contracts/access-control/OwnableWithGuardian.sol | $^{↓-13%}{\color{red}70%}$<br />$7 / 10$<br />[15](src/contracts/access-control/OwnableWithGuardian.sol#L15),[20](src/contracts/access-control/OwnableWithGuardian.sol#L20),[44](src/contracts/access-control/OwnableWithGuardian.sol#L44) | $^{↓-17%}{\color{red}62.5%}$<br />$5 / 8$<br />[OwnableWithGuardian.onlyGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L14),[OwnableWithGuardian.onlyOwnerOrGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L19),[OwnableWithGuardian._checkGuardian](src/contracts/access-control/OwnableWithGuardian.sol#L43) | ${\color{red}50%}$<br />$2 / 4$ |
- | src/contracts/access-control/UpgradeableOwnableWithGuardian.sol | ${\color{green}100%}$<br />$14 / 14$ | ${\color{green}100%}$<br />$9 / 9$ | ${\color{green}100%}$<br />$2 / 2$ |
+ | src/contracts/access-control/UpgradeableOwnableWithGuardian.sol | ${\color{green}100%}$<br />$14 / 14$<br /> | ${\color{green}100%}$<br />$9 / 9$<br /> | ${\color{green}100%}$<br />$2 / 2$ |
- | src/contracts/create3/Create3.sol | ${\color{orange}92.86%}$<br />$13 / 14$ | ${\color{red}80%}$<br />$4 / 5$ | ${\color{red}33.33%}$<br />$1 / 3$ |
+ | src/contracts/create3/Create3.sol | ${\color{orange}92.86%}$<br />$13 / 14$<br />[66](src/contracts/create3/Create3.sol#L66) | ${\color{red}80%}$<br />$4 / 5$<br />[Create3.create3](src/contracts/create3/Create3.sol#L62) | ${\color{red}33.33%}$<br />$1 / 3$ |
- | src/contracts/create3/Create3Factory.sol | ${\color{green}100%}$<br />$4 / 4$ | ${\color{green}100%}$<br />$2 / 2$ | ${\color{green}100%}$<br />$0 / 0$ |
+ | src/contracts/create3/Create3Factory.sol | ${\color{green}100%}$<br />$4 / 4$<br /> | ${\color{green}100%}$<br />$2 / 2$<br /> | ${\color{green}100%}$<br />$0 / 0$ |
- | src/contracts/oz-common/Ownable.sol | ${\color{red}80%}$<br />$8 / 10$ | ${\color{red}71.43%}$<br />$5 / 7$ | ${\color{red}50%}$<br />$2 / 4$ |
- | src/contracts/oz-common/SafeERC20.sol | ${\color{red}13.64%}$<br />$3 / 22$ | ${\color{red}25%}$<br />$2 / 8$ | ${\color{red}0%}$<br />$0 / 4$ |
+ | src/contracts/oz-common/Ownable.sol | ${\color{red}80%}$<br />$8 / 10$<br />[37](src/contracts/oz-common/Ownable.sol#L37),[63](src/contracts/oz-common/Ownable.sol#L63) | ${\color{red}71.43%}$<br />$5 / 7$<br />[Ownable.onlyOwner](src/contracts/oz-common/Ownable.sol#L36),[Ownable.renounceOwnership](src/contracts/oz-common/Ownable.sol#L62) | ${\color{red}50%}$<br />$2 / 4$ |
+ | src/contracts/oz-common/SafeERC20.sol | ${\color{red}13.64%}$<br />$3 / 22$<br />[46](src/contracts/oz-common/SafeERC20.sol#L46),[54](src/contracts/oz-common/SafeERC20.sol#L54),[55](src/contracts/oz-common/SafeERC20.sol#L55),[64](src/contracts/oz-common/SafeERC20.sol#L64),[65](src/contracts/oz-common/SafeERC20.sol#L65),[66](src/contracts/oz-common/SafeERC20.sol#L66),[68](src/contracts/oz-common/SafeERC20.sol#L68),[78](src/contracts/oz-common/SafeERC20.sol#L78),[80](src/contracts/oz-common/SafeERC20.sol#L80),[81](src/contracts/oz-common/SafeERC20.sol#L81),[82](src/contracts/oz-common/SafeERC20.sol#L82),[100](src/contracts/oz-common/SafeERC20.sol#L100),[101](src/contracts/oz-common/SafeERC20.sol#L101),[102](src/contracts/oz-common/SafeERC20.sol#L102),[103](src/contracts/oz-common/SafeERC20.sol#L103),[104](src/contracts/oz-common/SafeERC20.sol#L104),[121](src/contracts/oz-common/SafeERC20.sol#L121),[138](src/contracts/oz-common/SafeERC20.sol#L138),[139](src/contracts/oz-common/SafeERC20.sol#L139) | ${\color{red}25%}$<br />$2 / 8$<br />[SafeERC20.safeTransferFrom](src/contracts/oz-common/SafeERC20.sol#L45),[SafeERC20.safeIncreaseAllowance](src/contracts/oz-common/SafeERC20.sol#L53),[SafeERC20.safeDecreaseAllowanc
|
test
Process completed with exit code 1.
|
test
Could not determine node version from /home/runner/work/action-foundry-lcov/action-foundry-lcov/package.json. Falling back
|