Skip to content

test: add decrypt output parsing and type tests#976

Closed
mahmoodhamdi wants to merge 1 commit intomotdotla:masterfrom
mahmoodhamdi:test/decrypt-successful-roundtrip
Closed

test: add decrypt output parsing and type tests#976
mahmoodhamdi wants to merge 1 commit intomotdotla:masterfrom
mahmoodhamdi:test/decrypt-successful-roundtrip

Conversation

@mahmoodhamdi
Copy link
Copy Markdown
Contributor

Summary

  • Add test verifying decrypt() output can be parsed by parse() (roundtrip test)
  • Add test verifying decrypt() returns a string type

The existing test only checks the raw decrypted string value.

Test plan

  • npm test passes (196 tests)
  • No new dependencies

Add tests verifying that decrypt() output can be parsed by parse()
and that the return type is a string.
@mahmoodhamdi
Copy link
Copy Markdown
Contributor Author

Closing this — I should have consolidated these into a single well-structured PR instead of opening them individually. Apologies for the noise.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant