Ran
|
Files
33
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
push
github
Remove unused mock contracts from SafeToL2Migration tests (#837) This pull request focuses on cleaning up the `SafeToL2Migration.spec.ts` test file by removing unused imports and redundant mock setup code. These changes streamline the test setup and improve code readability. Code cleanup and simplification: * Removed the unused `getMock` import from `test/libraries/SafeToL2Migration.spec.ts`. * Deleted the setup and usage of `validGuardMock` and `invalidGuardMock` in the `SafeToL2Migration` library tests, as they were not used in the actual tests. [[1]](diffhunk://#diff-<a class=hub.com/safe-global/safe-smart-account/commit/75100fb7649ea61385b33880528c60fc7ed991fa">75100fb76ce5d9285fa01ebaeb4616221L79-L86) [[2]](diffhunk://#diff-75100fb7649ea61385b33880528c60fc7ed991face5d9285fa01ebaeb4616221L116-L117)
259 of 292 branches covered (88.7%)
Branch coverage included in aggregate %.
396 of 408 relevant lines covered (97.06%)
100.56 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|