sablier-labs / v2-merkle-api

https://v2-services.vercel.app
GNU General Public License v3.0
4 stars 1 forks source link

Unit tests for the `merkle-api` service #3

Closed razgraf closed 10 months ago

razgraf commented 1 year ago

After we finalize the implementation and hosting/CI/CD sprint for the merkle-api v2-service, let's add a few tests to make sure everything runs smoothly (validations catch wrong amount formats, invalid IPFS files).

PaulRBerg commented 11 months ago

Most of the code here:

https://github.com/sablier-labs/v2-services/tree/92a39d3dff0d65878c4743dfc2926da3f36f1e38/apps/merkle-api/src

Should be unit tested.

Ref https://doc.rust-lang.org/book/ch11-01-writing-tests.html.