test(cli): reduce flakiness of Spinner test (#5821)

This commit is contained in:
Yoshiya Hinosawa 2024-08-26 15:33:51 +09:00 committed by GitHub
parent f1d04d6403
commit 3cf1e611a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@ const spinner = new Spinner();
spinner.start(); spinner.start();
setTimeout(() => (spinner.message = "One dino 🦕"), 125); // 150 setTimeout(() => (spinner.message = "One dino 🦕"), 10);
setTimeout(() => (spinner.message = "Two dinos 🦕🦕"), 200); // 225 setTimeout(() => (spinner.message = "Two dinos 🦕🦕"), 250);
setTimeout(() => spinner.stop(), 500); setTimeout(() => spinner.stop(), 500);