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
child_process.spawn on NodeJS (note: fork won't work, because we need the streams, not process.send()). stdin would be the write stream, stdout the read stream.
Readable streams on NodeJS. Beware: a child process might not give you all its stdout in one event... maybe Readline will be helpful here. The problem is how do we know when the child process has sent all its data...
ts-jest - Jest testing with TypeScript. Really nice.
The text was updated successfully, but these errors were encountered:
Spin-off of #92 .
EDIT: ignore all the stuff below (except ts-jest). There's a much simpler solution: use a fake Inquirer implementation. Tests for the same are here.
Helpful links:
process.send()
). stdin would be the write stream, stdout the read stream.The text was updated successfully, but these errors were encountered: