To test on local environment, you need to follow these steps:
- In terminal 1, run
solana-test-validator
to wake up a local validator - (Optional) In terminal 2, run
solana logs
to see all logs on the local env - In terminal 3, run
make test
to run all the tests
Reference: https://github.com/solana-labs/solana-program-library/tree/master/token-lending
Docs: