MCPcopy Create free account
hub / github.com/dtormoen/tsk-tsk / test_detect_node_tech_stack

Function test_detect_node_tech_stack

src/repository.rs:186–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184
185 #[tokio::test]
186 async fn test_detect_node_tech_stack() {
187 let temp_dir = TempDir::new().unwrap();
188
189 // Create package.json file
190 tokio::fs::write(temp_dir.path().join("package.json"), "")
191 .await
192 .unwrap();
193
194 let result = detect_stack(temp_dir.path()).await.unwrap();
195 assert_eq!(result, "node");
196 }
197
198 #[tokio::test]
199 async fn test_detect_go_tech_stack() {

Callers

nothing calls this directly

Calls 2

detect_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected