-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Increase delay between inputs on some acceptance tests
Our prompt library inquirer only receives data from stdin after it has been initialised. Therefore we can lose some buffered data if we send it too fast, this is particularly noticeable if there are multiple inquirer prompts in a row. There is no known way to check if the child process that is under test is ready to receive input as node will swallow anything given to stdin if it has nowhere to send it. This hopefully will decrease the probability that these test fail by increasing the delay between sending data to the child process.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters