Add unit tests across all crates #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The project currently has zero unit tests. This makes it hard to catch regressions and verify correctness of core logic.
Scope
Add unit tests for the three main crates:
portal-frontend (signing.rs) — 10 tests
portal-shared (lib.rs) — 10 tests
portal-backend (api.rs) — 13 tests
Verification
All 33 tests pass with
make test(cargo test --all).