Skip to content

testing: cover PhishingProtection decode & analyser methods #466

Description

@nanaf6203-bit

Summary

PhishingProtection has high-level listing tests but lacks coverage for nested private methods (decodeTransactionData, analyzeTransactionParameters).

Affected area

src/utils/security/__tests__/phishingProtection.test.ts

Expected behaviour

Add decoders and analyser tests; verify false positives are bounded.

Acceptance criteria

  • Coverage >85 %.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programpriority/p2P2 — medium prioritysecuritySecurity issue or hardening opportunitytestingTest coverage or test reliability

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions