Gavel detects important differences between actual and expected HTTP transactions (HTTP request and response pairs). Gavel also decides whether the actual HTTP transaction is valid or not.
$ npm install gavel
Gavel.js is a JavaScript implementation of the Gavel behavior specification (repository):