Closed
Description
Problem:
When testing templates, it's a frequent cause of headaches when testing.
Currently in the template test.sh scripts, they use the yes
command piped to the vue init
, which doesn't work.
Solution
To workaround this, we could add a --force
flag that will send a new line character to each inquirer prompt.
We could use the mock-stdin
package for sending the input to the prompt.
There is a PR coming shortly, fully tested with the Vue Webpack template using both the --force
and the -f
flag.
Metadata
Metadata
Assignees
Labels
No labels