|
Ran
|
Jobs
1
|
Files
957
|
Run time
3min
|
Badge
README BADGES
|
push
github
feat(safe-shield): recipient interaction analysis with tx decoding (#2714) * feat: add `to` filter to transfer retrieval and update related tests * feat: recipient interation analysis with severity, title, and description mappings * feat: extract unique recipients and analyse them individually * feat: decode and handle multiSend transactions * test: add unit tests for RecipientAnalysisService * fix: update SEVERITY_MAPPING to use keyof typeof Severity * refactor: improve type definitions in RecipientAnalysisService tests * test: add unit tests for SafeShieldService with recipient analysis and transaction decoding * fix: formatting * refactor: update SafeShieldService tests to simplify setup * refactor: streamline mock setup in RecipientAnalysisService tests * feat: implement caching for recipient analysis results in RecipientAnalysisService * feat: integrate logging service into SafeShieldService for improved error handling * test: enhance SafeShieldService tests with additional scenarios for error handling and transaction decoding * fix: formatting * refactor: enhance test mocks to use jest.MockedObjectDeep * refactor: extract transaction mapping logic into a separate utility function * refactor: utilize pageBuilder for mockTransferPage in RecipientAnalysisService tests * refactor: move recipient extraction logic to a new utility module and update RecipientAnalysisService to use it * refactor: extract mapping logic for recipient analysis results into a new utility function * fix: formatting * fix: linter errors * Revert "refactor: extract mapping logic for recipient analysis results into a new utility function" This reverts commit 9c87402fc. * test: remove redundant tests for mapToAnalysisResult * fix: formatting * fix: update capitalization for consistency * test: fix spelling
3737 of 4610 branches covered (81.06%)
Branch coverage included in aggregate %.
101 of 109 new or added lines in 8 files covered. (92.66%)
12596 of 13708 relevant lines covered (91.89%)
528.89 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 2 |
0.0 |
0.0% | src/modules/safe-shield/recipient-analysis/recipient-analysis.module.ts |
| 2 |
0.0 |
0.0% | src/modules/safe-shield/safe-shield.module.ts |
| 4 |
58.33 |
src/modules/safe-shield/recipient-analysis/recipient-analysis.constants.ts |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | run-test:cov - 18091298295.1 | 1913 |
90.27 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|