test: Created snapshot tests for all Radarr UI modules

This commit is contained in:
2025-12-15 20:17:09 -07:00
parent 7084ca1be2
commit 316ed64315
273 changed files with 8859 additions and 2031 deletions
@@ -100,7 +100,7 @@ pub fn draw_collection_details(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect)
.unwrap_or_default()
.value
.as_f64()
.unwrap();
.unwrap_or_default();
let rotten_tomatoes_rating = movie
.ratings
.rotten_tomatoes
@@ -108,7 +108,7 @@ pub fn draw_collection_details(f: &mut Frame<'_>, app: &mut App<'_>, area: Rect)
.unwrap_or_default()
.value
.as_u64()
.unwrap();
.unwrap_or_default();
let imdb_rating = if imdb_rating == 0.0 {
String::new()
} else {