#![forbid(unsafe_code)]
use std::path::Path;
use crate::config::{self, Config};
use crate::modes::Mode;
pub fn make_test_config() -> Config {
Config {
path: Path::new("test_files/").to_path_buf(),
num_tasks_log: Path::new("/tmp/tasks_log").to_path_buf(),
file_extensions: config::Config::default_file_extensions(),
days_to_stale: 365,
include_completed: true,
priority_markers: config::Config::default_priority_markers(),
evergreen_file: Path::new("").to_path_buf(),
start_mode: Mode::Tasks,
overdue_blink: true,
}
}