Skip to content

test(contracts): align verify status tests with API response contract#656

Open
dev3Nigerian wants to merge 1 commit intotempoxyz:mainfrom
dev3Nigerian:fix/contracts-verify-status-tests
Open

test(contracts): align verify status tests with API response contract#656
dev3Nigerian wants to merge 1 commit intotempoxyz:mainfrom
dev3Nigerian:fix/contracts-verify-status-tests

Conversation

@dev3Nigerian
Copy link

@dev3Nigerian dev3Nigerian commented Mar 6, 2026

Summary

  • Align GET /v2/verify/:verificationId tests with the current API/OpenAPI contract.
  • Assert verificationId (not jobId) in pending and failed job responses.
  • Assert failed-job polling returns 200 with an error payload.
  • Validate pending-job response shape using contract.chainId and normalized contract.address.

Validation

  • pnpm --dir apps/contract-verification vitest --run test/route.verify.test.ts
  • pnpm --dir apps/contract-verification test -- --run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant