solana-developers / solana-devnet-faucet

Public web faucet for Solana devnet/testnet airdrops
https://faucet.solana.com
10 stars 5 forks source link

Refactor and add tests #13

Closed mikemaccana closed 8 months ago

mikemaccana commented 9 months ago

This PR moves logic out of the request handler into their own testable functions, adds a bunch of tests, and uses GitHub Actions to run the tests.

add: tests using jest refactor: move checks out of request handler into own files add: CI using github actions add: some console.debug() with reason for each rejection refactor: use getKeypairFromEnvironment() refactor: use a character range to clean out IP address separators in a single step add: README updates

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
solana-devnet-faucet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2024 6:07pm