Testing · Middle · Question 64 of 75
What does a contract test check?
- ✓Correct answer: That the API provider and consumer agree on request and response formats, without a full E2E environment
- 2That the legal contract is signed
- 3That TypeScript types compile
Explanation
Consumer-driven contracts (e.g. Pact) are recorded by the frontend and verified against the backend in its CI.