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
{{ message }}
This repository has been archived by the owner on May 22, 2024. It is now read-only.
In the current implementation,
mock-stdin
is not ended after passing it the input (see https://github.com/caitp/node-mock-stdin/blob/master/lib/mock/stdin.js#L132 for theend
method).This causes test reading from stdin to hang forever.
Since we have no access to the underlying
mock-stdin
instance, we cannot do it ourself.Calling
stdin.end()
in https://github.com/jdxcode/fancy-test/blob/d89fed06192386a91cdae088a282236c06291dd5/src/stdmock.ts#L25 seems to solve this issue.The text was updated successfully, but these errors were encountered: