-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Why
We don't have enough tests in our solana-client packages which allows us to ship regressions
What
Add tests for the helper functions so we're sure they behave as expected over time.
Deliverables
Unit tests for the helper functions that make sense to unit test.
To do
- Figure out which of the files below need a unit test
- If they don't, write down why not (need e2e test, there is no logic to test, they already have a test, etc)
- Create small PR's to test them individually.
Context
These are the current files.
- constants.ts
- create-and-send-sol-transaction.ts
- create-and-send-spl-transaction.ts
- create-sol-transfer-transaction.ts test: add create-sol-transfer-transaction unit testย #385 test: improve create-sol-transfer-transaction test coverageย #465
- create-solana-client.ts
- create-spl-transfer-transaction.ts test: unit test for create-spl-transfer-transactionย #406
- get-account-info.ts test: unit tests for get-account-infoย #489
- get-activity.ts
- get-balance.ts
- get-explorer-url.ts
- get-solana-network-from-genesis-hash.ts
- get-token-accounts-for-program-id.ts
- get-token-accounts.ts
- is-valid-signature.ts
- lamports-to-sol.ts
- max-available-sol-amount.ts
- request-airdrop.ts
- sol-to-lamports.ts
- solana-client.ts
- solana-network.ts
- spl-token-create-token-account.ts
- spl-token-create-token-mint.ts
- unix-timestamp-to-date.ts
- utils.ts
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Backlog