()
| 116 | |
| 117 | #[test] |
| 118 | fn test_spinner() { |
| 119 | let mut spinner = Spinner::new(vec![ |
| 120 | SpinnerComponent::Spinner, |
| 121 | SpinnerComponent::Text("Loading".into()), |
| 122 | ]); |
| 123 | thread::sleep(Duration::from_secs(1)); |
| 124 | spinner.stop_with_message("Done".into()); |
| 125 | } |
| 126 | } |
nothing calls this directly
no test coverage detected