mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
test(cli): reduce flakiness of Spinner test (#5821)
This commit is contained in:
parent
f1d04d6403
commit
3cf1e611a6
4
cli/testdata/spinner_cases/change_message.ts
vendored
4
cli/testdata/spinner_cases/change_message.ts
vendored
@ -4,7 +4,7 @@ const spinner = new Spinner();
|
||||
|
||||
spinner.start();
|
||||
|
||||
setTimeout(() => (spinner.message = "One dino 🦕"), 125); // 150
|
||||
setTimeout(() => (spinner.message = "Two dinos 🦕🦕"), 200); // 225
|
||||
setTimeout(() => (spinner.message = "One dino 🦕"), 10);
|
||||
setTimeout(() => (spinner.message = "Two dinos 🦕🦕"), 250);
|
||||
|
||||
setTimeout(() => spinner.stop(), 500);
|
||||
|
Loading…
Reference in New Issue
Block a user