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

HTTP assertions made easy via super-agent and chai

Results 4 supertest-chai issues
Sort by recently updated
recently updated
newest added

`const testRequest = supertestChai.request('http://my-url/');` does not work. Results in the following error: ``` /Users/....../node_modules/supertest-chai/index.js:10 var addr = app.address(); ^ TypeError: app.address is not a function at Object.module.exports.request (/Users/....../node_modules/supertest-chai/index.js:10:20) ``` Would...

Was reading your code and this seems akward: https://github.com/tadeuszwojcik/supertest-chai/blob/master/index.js#L11 ``` var portno = addr ? addr.port : port++; ``` The variable port does not exist and `undefined++` is `NaN`

Hello, I am really interested in your supertest-chai library. I was wondering if it supports the ability to test a deployed api like the original supertest does. I tried the...