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

Function test_is_installed_true

atomic-agent/src/hooks/claude_code/tests.rs:753–758  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751
752 #[test]
753 fn test_is_installed_true() {
754 let dir = tempfile::tempdir().unwrap();
755 let hook = make_hook();
756 hook.install(dir.path()).unwrap();
757 assert!(hook.is_installed(dir.path()));
758 }
759
760 #[test]
761 fn test_is_installed_false_no_file() {

Callers

nothing calls this directly

Calls 4

make_hookFunction · 0.70
unwrapMethod · 0.45
installMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected