#[cfg(test)] mod tests { use crate::tests::common::test_helpers::{create_temp_dir, test_temp_dir_setup}; #[test] fn test_list_mode_basic_setup() { test_temp_dir_setup(); } #[test] fn test_list_mode_directory_operations() { // Create a temporary directory for testing let temp_dir = create_temp_dir(); // Test reading directory contents (should be empty) let entries: Vec<_> = std::fs::read_dir(temp_dir.path()) .expect("Failed to read directory") .collect(); assert_eq!(entries.len(), 0); } }