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

Function test_is_installed

atomic-agent/src/hooks/gemini_cli.rs:1041–1050  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1039
1040 #[test]
1041 fn test_is_installed() {
1042 let dir = tempfile::tempdir().unwrap();
1043 let hook = make_hook();
1044
1045 assert!(!hook.is_installed(dir.path()));
1046
1047 hook.install(dir.path()).unwrap();
1048
1049 assert!(hook.is_installed(dir.path()));
1050 }
1051
1052 #[test]
1053 fn test_uninstall_removes_atomic_hooks() {

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