MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_enable_no_repo_fails

Function test_enable_no_repo_fails

atomic-cli/src/commands/agent/enable.rs:739–752  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected