supertest icon indicating copy to clipboard operation
supertest copied to clipboard

πŸ•· Super-agent driven library for testing node.js HTTP servers using a fluent API. Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.

Results 149 supertest issues
Sort by recently updated
recently updated
newest added

Hi guys, We have a problem when run test, the result is 'unable to verify the first certificate', is there any built-in options on supertest to disable ssl certificate verification?...

Hello, when I run supertest request over an handlebars page that includes some partials I get a 500 server error, with message "partial ... not found". Removing the partial from...

Hi. Is there a way to validate the request and the response that is processed by supertest according to an [OpenAPI](https://swagger.io/specification/) specification? I am looking for a plugin like [swagger-request-validator](https://bitbucket.org/atlassian/swagger-request-validator/src/master/)...

![image](https://user-images.githubusercontent.com/20721833/100564580-6904c600-32fc-11eb-815d-56617bfa6e30.png)

By performing a unit test of a controller as proposed in the Nest.js [Documentation](https://docs.nestjs.com/fundamentals/testing#end-to-end-testing) I found a really strange behavior when trying to set the header `{ accept: "application/pdf" }`...

We have written NodeJS based express application. REST API is defined as following: ``` router.get('/module/:id/', async (req, res ) => { try { var moduleid = req.params.id const module =...

I am infrequently getting error in response of supertest request, sometime runs sometime fails while running all test suits together. `Cannot set property domain of [object process] which has only...

I wrote a test and the router just get signed cookies but I can't set signed cookie for my request

Hi This PR adds http2 support to add http2 tests on [express](https://github.com/expressjs/express/pull/3390). This PR depend on https://github.com/visionmedia/superagent/pull/1399.

I try to test a file upload endpoint but the file not upload in test, this is my test code ``` describe("Add Foto", function() { it('Se agrega una foto a...