Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing lib/* using enquirer #43

Open
oscard0m opened this issue May 14, 2021 · 1 comment
Open

Testing lib/* using enquirer #43

oscard0m opened this issue May 14, 2021 · 1 comment
Labels
maintenance Tests, Refactorings, Automation, etc

Comments

@oscard0m
Copy link
Member

I'm not familiar with enquirer. Do you know if there is any good practice or lib for testing it and avoid entering the rabbit hole of spies, mocks, injects, etc?

I would like to validate stuff like the fix introduced here

@gr2m
Copy link
Member

gr2m commented May 14, 2021

That is a very good question! I remember I used a project made for testing CLI apps with prompts, but I cannot recall where, or the name of the app. Let's do some research, maybe there are some recommendations in the https://github.com/SBoudrias/Inquirer.js or https://github.com/enquirer/enquirer project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Tests, Refactorings, Automation, etc
Projects
None yet
Development

No branches or pull requests

2 participants