diff options
Diffstat (limited to 'tests/shared.rs')
| -rw-r--r-- | tests/shared.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/shared.rs b/tests/shared.rs index 5df63de..d226425 100644 --- a/tests/shared.rs +++ b/tests/shared.rs @@ -19,5 +19,10 @@ pub fn create_test_config(temp_dir_path: &str) -> Config { }, }; + // Export this config as TOML so runtime code can read it via MESK_CONFIG_TOML + if let Ok(toml_str) = toml::to_string(&cfg) { + std::env::set_var("MESK_CONFIG_TOML", toml_str); + } + cfg } |
