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

Function test_resolve_stack_default_fallback

src/context/tsk_config.rs:2057–2062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2055
2056 #[tokio::test]
2057 async fn test_resolve_stack_default_fallback() {
2058 let config = TskConfig::default();
2059 let tmp = tempfile::tempdir().unwrap();
2060 let result = resolve_stack(None, &config, "my-project", None, tmp.path()).await;
2061 assert_eq!(result, "default");
2062 }
2063
2064 #[tokio::test]
2065 async fn test_resolve_stack_user_project_wins_over_project_file_and_defaults() {

Callers

nothing calls this directly

Calls 2

resolve_stackFunction · 0.85
pathMethod · 0.80

Tested by

no test coverage detected