()
| 737 | |
| 738 | #[test] |
| 739 | fn test_enable_no_repo_fails() { |
| 740 | // Running enable outside a repo should fail in find_repository_root |
| 741 | // We can't easily test this without changing the working directory, |
| 742 | // so we just verify the command struct is constructible. |
| 743 | let _cmd = Enable { |
| 744 | agent: Some("claude-code".to_string()), |
| 745 | force: false, |
| 746 | all: false, |
| 747 | hooks: None, |
| 748 | from: None, |
| 749 | from_skills: None, |
| 750 | agents_md: false, |
| 751 | }; |
| 752 | } |
| 753 | |
| 754 | #[test] |
| 755 | fn test_enable_with_force_flag() { |
nothing calls this directly
no outgoing calls
no test coverage detected