Skip to content

test: unit test for the solana.ts#19

Merged
Shreyassp002 merged 2 commits intoHoomanBuilds:mainfrom
Shreyassp002:main
Apr 3, 2026
Merged

test: unit test for the solana.ts#19
Shreyassp002 merged 2 commits intoHoomanBuilds:mainfrom
Shreyassp002:main

Conversation

@Shreyassp002
Copy link
Copy Markdown
Contributor

Summary

Adds unit tests for the pure utility functions in src/lib/solana.ts to improve test coverage without unnecessary mocking.

Changes

  • Added src/lib/__tests__/solana.test.ts
  • Tests isValidSolanaAddress() against valid keys, weak strings, EVM addresses, and invalid base58 strings.
  • Tests isSolNative() against the native mint, system program, and SPL token addresses.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

@Shreyassp002 is attempting to deploy a commit to the Shreyas' projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

⚡ Flash Review

Metric Value
Files Reviewed 0
Risk Level 🟢 Low
Issues Found 🚨 0 Critical · ⚠️ 0 Warnings · 💡 0 Suggestions

See inline comments for details.


⚡ Powered by Flash Review

⚠️ Note: 2 file(s) could not be reviewed due to API errors.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flash-protocol Ready Ready Preview, Comment Apr 3, 2026 0:34am

@Shreyassp002 Shreyassp002 merged commit e565024 into HoomanBuilds:main Apr 3, 2026
2 of 3 checks passed
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