GenesysGo / shadow-nft-standard

A new, open, and permissive Solana NFT standard
https://sample-nft-ui.shadow.cloud/
Apache License 2.0
33 stars 5 forks source link

Anchor test lead to 0x1 error without first using sol airdrop #20

Open tanmaymunjal opened 1 year ago

tanmaymunjal commented 1 year ago

Describe the bug Running the tests directly on localnet using anchor test leads to 0x1 error. This indicates not enough sol to perform action

To Reproduce Steps to reproduce the behavior:

  1. Run the anchor test command on localnet using a dev,json with an account with 0 sol

Expected behavior The expected behavior for tests should be to check if a user is on localnet, and run a function to airdrop the sol expected to be necessary to run the tests if user is on localnet