Repository navigation
v0.5.3
A test client that keeps its headers and cookies from one request to the next, and recipes in the README for request metrics, health checks and reporting a failed background job.
Added
@tetsujs/core/testing:serve(app).client({ headers })is a client that sends its own headers with every request and keeps a cookie jar: the cookies a response sets go back with the next requests where theirPathmatches, and a response that deletes or expires one removes it.jsonsends a value as JSON, and a header set tonullis not sent.client.cookiesreads and plants values.
Fixed
@tetsujs/lifecycle: the readiness example in the README built its route after the server, where it could not be mounted.
Full Changelog: v0.5.2...v0.5.3