Helper function to create a unique test DB path
()
| 27 | |
| 28 | // Helper function to create a unique test DB path |
| 29 | fn get_test_db_path() -> PathBuf { |
| 30 | let file_name = format!("moosync_test_{}.db", Uuid::new_v4()); |
| 31 | temp_dir().join(file_name) |
| 32 | } |
| 33 | |
| 34 | // Helper function to clean up DB files |
| 35 | fn cleanup(db_path: &PathBuf) { |
no outgoing calls
no test coverage detected