mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
chore: fix flaky stdio_streams_are_locked_in_permission_prompt (#19443)
This commit is contained in:
parent
748a102919
commit
ff690b0ab4
3 changed files with 58 additions and 36 deletions
|
@ -4370,6 +4370,7 @@ fn stdio_streams_are_locked_in_permission_prompt() {
|
|||
std::thread::sleep(Duration::from_millis(50)); // give the other thread some time to output
|
||||
console.write_line_raw("invalid");
|
||||
console.expect("Unrecognized option.");
|
||||
console.expect("Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all write permissions)");
|
||||
console.write_line_raw("y");
|
||||
console.expect("Granted write access to");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue