From 30c1fa12d8b5405b6d18d2759934764b85b20773 Mon Sep 17 00:00:00 2001
From: prsabahrami
Date: Sun, 29 Sep 2024 15:53:10 -0400
Subject: [PATCH] Use NO_GRAPHICS for miette erros
---
crates/tests/src/test_builder.rs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/crates/tests/src/test_builder.rs b/crates/tests/src/test_builder.rs
index 7b21062..e5b63f2 100644
--- a/crates/tests/src/test_builder.rs
+++ b/crates/tests/src/test_builder.rs
@@ -222,6 +222,8 @@ impl TestBuilder {
}
pub async fn run(&mut self) {
+ std::env::set_var("NO_GRAPHICS", "1");
+
let list = parse(&self.command).unwrap();
let cwd = if let Some(temp_dir) = &self.temp_dir {
temp_dir.cwd.clone()