Testing Guide
Contracts
cd contracts
forge test --offline
If your Foundry environment is stable without external signature lookup issues, forge test is also fine.
SDK unit/integration
cd sdk
npm test
SDK end-to-end
cd sdk
npm run test:e2e
This script runs local Anvil + contract deploy + full flow tests.
Circuit tests
cd circuits/zkjwt
nargo test
Suggested CI order
- Contracts tests
- SDK build + unit/integration tests
- Circuit tests
- SDK e2e tests