Supertest: API Design & Integration Surface
Docs-backedThe API is fluent: request(app).get('/api/users').expect(200).expect('Content-Type', /json/).expect({ users: [] }). Works with Express, Fastify, Koa, and any HTTP-compatible server handler. Async/await friendly with .then().