You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ordinarily, a Readable stream will throw when attempting to push after an EOF. This routine will
reset the `ended` state of a Readable stream, preventing it from throwing post-EOF. This prevents
being required to re-create a mock STDIN instance during certain tests where a fresh stdin is
required.
Closes#2
Basically need a way to prevent
Readable#push()
from throwing afterstdin.end()
has been called, just a nice way to make tests a bit cleaner.The text was updated successfully, but these errors were encountered: