Skip to content

formatting: better formatting #27

formatting: better formatting

formatting: better formatting #27

Triggered via pull request November 18, 2024 15:08
Status Failure
Total duration 18s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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\$<br />[15](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L15), [20](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L20), [44](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L44) | \${\\color{red}62.5\\\\%}\$<br />\$5 / 8\$<br />[OwnableWithGuardian.onlyGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L14)<br />[OwnableWithGuardian.onlyOwnerOrGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L19)<br />[OwnableWithGuardian._checkGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L43) | \${\\color{red}50\\\\%}\$<br />\$2 / 4\$ | + | src/contracts/access-control/OwnableWithGuardian.sol | \${\\color{red}70\\\\%}\$<br />\$7 / 10\$<br />[15](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L15), [20](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L20), [44](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L44) | \${\\color{red}62.5\\\\%}\$<br />\$5 / 8\$<br />[OwnableWithGuardian.onlyGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L14), [OwnableWithGuardian.onlyOwnerOrGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L19), [OwnableWithGuardian._checkGuardian](https://github.com/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\$<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\$<br />[66](https://github.com/src/contracts/create3/Create3.sol#L66) | \${\\color{red}80\\\\%}\$<br />\$4 / 5\$<br />[Create3.create3](https://github.com/src/contracts/create3/Create3.sol#L62) | \${\\color{red}33.33\\\\%}\$<br />\$1 / 3\$ | | 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\$<br />[37](https://github.com/src/contracts/oz-common/Ownable.sol#L37), [63](https://github.com/src/contracts/oz-common/Ownable.sol#L63) | \${\\color{red}71.43\\\\%}\$<br />\$5 / 7\$<br />[Ownable.onlyOwner](https://github.com/src/contracts/oz-common/Ownable.sol#L36)<br />[Ownable.renounceOwnership](https://github.com/src/contracts/oz-common/Ownable.sol#L62) | \${\\color{red}50\\\\%}\$<br />\$2 / 4\$ | + | src/contracts/oz-common/Ownable.sol | \${\\color{red}80\\\\%}\$<br />\$8 / 10\$<br />[37](https://github.com/src/contracts/oz-common/Ownable.sol#L37), [63](https://github.com/src/contracts/oz-common/Ownable.sol#L63) | \${\\color{red}71.43\\\\%}\$<br />\$5 / 7\$<br />[Ownable.onlyOwner](https://github.com/src/contracts/oz-common/Ownable.sol#L36), [Ownable.renounceOwnership](https://github.com/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](https://github.com/src/contracts/oz-common/SafeERC20.sol#L46), [54](https://github.com/src/contracts/oz-common/SafeERC20.sol#L54), [55](https://github.com/src/contracts/oz-common/SafeERC20.sol#L55), [64](https://github.com/src/contracts/oz-common/SafeERC20.sol#L64), [65](https://github.com/src/contracts/oz-common/SafeERC20.sol#L65), [66](https://github.com/src/contracts/oz-common/SafeERC20.sol#L66), [68](https://github.com/src/contracts/oz-common/S
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\$<br />[15](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L15), [20](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L20), [44](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L44) | \$^{↓-17\\\\%}{\\color{red}62.5\\\\%}\$<br />\$5 / 8\$<br />[OwnableWithGuardian.onlyGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L14)<br />[OwnableWithGuardian.onlyOwnerOrGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L19)<br />[OwnableWithGuardian._checkGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L43) | \${\\color{red}50\\\\%}\$<br />\$2 / 4\$ | + | src/contracts/access-control/OwnableWithGuardian.sol | \$^{↓-13\\\\%}{\\color{red}70\\\\%}\$<br />\$7 / 10\$<br />[15](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L15), [20](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L20), [44](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L44) | \$^{↓-17\\\\%}{\\color{red}62.5\\\\%}\$<br />\$5 / 8\$<br />[OwnableWithGuardian.onlyGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L14), [OwnableWithGuardian.onlyOwnerOrGuardian](https://github.com/src/contracts/access-control/OwnableWithGuardian.sol#L19), [OwnableWithGuardian._checkGuardian](https://github.com/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\$<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\$<br />[66](https://github.com/src/contracts/create3/Create3.sol#L66) | \${\\color{red}80\\\\%}\$<br />\$4 / 5\$<br />[Create3.create3](https://github.com/src/contracts/create3/Create3.sol#L62) | \${\\color{red}33.33\\\\%}\$<br />\$1 / 3\$ | | 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\$<br />[37](https://github.com/src/contracts/oz-common/Ownable.sol#L37), [63](https://github.com/src/contracts/oz-common/Ownable.sol#L63) | \${\\color{red}71.43\\\\%}\$<br />\$5 / 7\$<br />[Ownable.onlyOwner](https://github.com/src/contracts/oz-common/Ownable.sol#L36)<br />[Ownable.renounceOwnership](https://github.com/src/contracts/oz-common/Ownable.sol#L62) | \${\\color{red}50\\\\%}\$<br />\$2 / 4\$ | + | src/contracts/oz-common/Ownable.sol | \${\\color{red}80\\\\%}\$<br />\$8 / 10\$<br />[37](https://github.com/src/contracts/oz-common/Ownable.sol#L37), [63](https://github.com/src/contracts/oz-common/Ownable.sol#L63) | \${\\color{red}71.43\\\\%}\$<br />\$5 / 7\$<br />[Ownable.onlyOwner](https://github.com/src/contracts/oz-common/Ownable.sol#L36), [Ownable.renounceOwnership](https://github.com/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](https://github.com/src/contracts/oz-common/SafeERC20.sol#L46), [54](https://github.com/src/contracts/oz-common/SafeERC20.sol#L54), [55](https://github.com/src/contracts/oz-common/SafeERC20.sol#L55), [64](https://github.com/src/contracts/oz-common/SafeERC20.sol#L64), [65](https://github.com/src/contracts/oz-common/SafeERC20.sol#L65), [66](https://github.com/src/contracts/oz-common/SafeERC20.sol#L66), [68](ht
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