chai-fetch

JSON →
library 0.3.1 ·javascript
verified Jun 7, 2026

Chai plugin providing asynchronous matchers for Fetch API responses, including .responseText() and .status(). Current stable version is 0.3.1 (last updated 2019). Release cadence is low/single-version. Key differentiator: simplifies testing fetch responses with clean chai syntax, supports promises and async/await, and includes TypeScript typings. Alternative to raw promise chaining or custom assertions.