Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Add a way to test stream requests/responses. #133

Open
slonoed opened this issue Jun 25, 2018 · 0 comments
Open

Add a way to test stream requests/responses. #133

slonoed opened this issue Jun 25, 2018 · 0 comments

Comments

@slonoed
Copy link
Contributor

slonoed commented Jun 25, 2018

Type of issue

Feature

Description

Some apps use plugin middleware to handle a request and read it as a stream. IE: file uploading.
It would be nice to have an API for this in test utils.

Current behavior

No nice API

Expected behavior

Supernice API

Notes

node-mocks-http package still missing correct inheritance form Readable.
It should be fixed with this commit released.
eugef/node-mocks-http@a8c44c0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant