chai-http icon indicating copy to clipboard operation
chai-http copied to clipboard

Error in docs?

Open cmhakkim opened this issue 5 months ago • 1 comments

See docs page https://www.chaijs.com/plugins/chai-http/ . Example under Application / Server:

const requester = request.Request(app).keepOpen()

I believe that should be ("Works for me!"):

const requester = request.agent(app).keepOpen()

I've got chai 5.2.1 and chai-http 5.1.2 (and @types/chai 5.2.2).

cmhakkim avatar Aug 14 '25 06:08 cmhakkim