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

Need a way to simulate terminal interaction in test cases #3870

Open
kt3k opened this issue Nov 28, 2023 · 1 comment
Open

Need a way to simulate terminal interaction in test cases #3870

kt3k opened this issue Nov 28, 2023 · 1 comment

Comments

@kt3k
Copy link
Member

kt3k commented Nov 28, 2023

context: #3777

We use https://crates.io/crates/pty to simulate terminal in Deno CLI repo. We need an equivalent in this repo to test promptSecret.

@kt3k
Copy link
Member Author

kt3k commented Nov 29, 2023

We might first need to add pty support to Deno denoland/deno#3994 if we want to write such test in Deno.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant