-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Readable.from
for streams
#21417
Conversation
Signed-off-by: blam <ben@blam.sh>
Signed-off-by: blam <ben@blam.sh>
Changed Packages
|
Uffizzi Cluster |
EDIT: Think that this was just bad test data calling it with non-iterables, as |
Signed-off-by: blam <ben@blam.sh>
let readable: NodeJS.ReadableStream; | ||
|
||
beforeEach(() => { | ||
readable = new Stream({ | ||
encoding: 'utf-8', | ||
}) as unknown as NodeJS.ReadableStream; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stream
is not a NodeJS.ReadableStream
implementation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨
Signed-off-by: blam <ben@blam.sh>
Thank you for contributing to Backstage! The changes in this pull request will be part of the |
Fixes #17072
Same fix as #18002