We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c61cf86 commit 6bf6bf4Copy full SHA for 6bf6bf4
src/utils.rs
@@ -33,6 +33,14 @@ pub fn get_citrea_path() -> Result<PathBuf> {
33
.map(PathBuf::from)
34
.map_err(|_| anyhow!("CITREA_E2E_TEST_BINARY is not set. Cannot resolve citrea path"))
35
}
36
+/// Get clementine path from `CLEMENTINE_E2E_TEST_BINARY` env
37
+pub fn get_clementine_path() -> Result<PathBuf> {
38
+ std::env::var("CLEMENTINE_E2E_TEST_BINARY")
39
+ .map(PathBuf::from)
40
+ .map_err(|_| {
41
+ anyhow!("CLEMENTINE_E2E_TEST_BINARY is not set. Cannot resolve clementine path")
42
+ })
43
+}
44
45
/// Get genesis path from resources
46
/// TODO: assess need for customable genesis path in e2e tests
0 commit comments