forwardemail / forwardemail/supertest
is there a way to test binary data ?
Open
- Dominant language
- JavaScript
- Stars
- 14.4k
- Forks
- 782
- PR merge metrics
- No merged PRs in 30d
Description
superagent has responseType, however it seems that method is not exposed by supertest ?
```
request(app).get('/sub/asset1.a').responseType('blob')
```
yields
```
responseType is not a function
```
Contributor guide
Research direction
Start at the SuperTest request API around request(app).get(...) and compare its exposed methods with SuperAgent's responseType. Done means binary data can be requested through the documented API and a test covers the behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100