feat(service): started service
This commit is contained in:
1 parent
cd7b225145
commit
e780279acd
15 files changed
+202
-45
No files matched your search
@@ -1,15 +1,5 @@
|
||||
use std::env;
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn is_running() -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
#[cfg(not(test))]
|
||||
pub fn is_running() -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
pub fn is_var_setup() -> bool {
|
||||
env::var("RUNNING_TESTS").is_ok()
|
||||
}
|
||||
Reference in new issue
Block a user