supertest
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.
Local build with the cloned repository passes but **travis** build fails. The _supertest_ _request_()._get_ call to a node js server.js express route times out while the same test works perfectly...
Failed to load DBCAPI on package https://www.npmjs.com/package/@sap/hana-client.
Hey everyone. I'm trying to understand which methods trigger the execution of the request based on the examples: Calling `.end()` makes sense: ```js describe('POST /users', function() { it('responds with json',...
Should we upgrade to node 10? i'm gladly to submit PR
I've used lsof -i:3000 kill -9 [PID] bu it is always showing command not found(in bith cases) I'm using this in goorm ide
Supertest supports passing previously-started apps, ie: ```js const app = express(); const server = app.listen(); ... await request(server) .get('/user') .expect(200); ``` However, when used this way, the server was never...
Maybe it's me but, by using supertest and mocha to test an express server. Issue : The 1st express endpoint test of a list of test always returns a 404...
Include String as valid `@param app` type (URL strings)
while sending .field('var1', ['value']) //array .field('var2', true) //boolean .field('var3', 50) //integer on the backend side we got: var1: 'value' //string var2: 'true' //string var3: '50' //string
Can relaxed versions be used so that users of this module don't end up with multiple versions being installed or stuck with a security vulnerability? Or in other words, can...