Comments (1)
I have edited the JS class on @types/superagent/index.d.ts and I've added this:
In the method interface Response extends NodeJS.ReadableStream
I have added this: send: any;
ant in the interface method interface SuperAgent<Req extends SuperAgentRequest> extends stream.Stream
I have added this: send(url: string, callback?: CallbackHandler): Req;
With that kind of implementation I have solved this isue
from chai-http.
Related Issues (20)
- How to check the contents of a binary response payload?
- Missing `exit` option in the API documentation, and the NodeJS API HOT 2
- Cannot read property 'headers' of undefined at Assertion.<anonymous> HOT 14
- Security Vulnerability: Update superagent Version to Fix! HOT 2
- Is there a way to share cookies between multiple agents?
- How do i POST xml request in chai? HOT 1
- Recommended way to extend the request class?
- Superagent-proxy integration Failed
- Bump Chai-Http version to get package updates HOT 10
- Property 'request' does not exist on type 'Response'.ts (2339) HOT 3
- Issue with MongoDB ObjectId in tested function?
- Assertion error expending cookie
- [possibly bug] aws-sdk and multer-s3 with chai-http agent promise not resolved HOT 1
- Issues and PRs are piling. Are maintainers needed? HOT 1
- How to send gzip compressed body
- publish to npm actual version HOT 2
- Found CVE-2022-29622 in one of your dependent library- superagent
- How to send multiple json in post request using supertest
- Vulnerability in cookiejar CVE-2022-25901 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chai-http.