diff --git a/zk_toolbox/crates/zk_supervisor/src/commands/test/l1_contracts.rs b/zk_toolbox/crates/zk_supervisor/src/commands/test/l1_contracts.rs index f5eb272f97ae..0a1e1ec5203f 100644 --- a/zk_toolbox/crates/zk_supervisor/src/commands/test/l1_contracts.rs +++ b/zk_toolbox/crates/zk_supervisor/src/commands/test/l1_contracts.rs @@ -1,16 +1,16 @@ -use common::{cmd::Cmd, logger, spinner::Spinner}; +use common::{cmd::Cmd, logger}; use config::EcosystemConfig; use xshell::{cmd, Shell}; -use crate::messages::{MSG_L1_CONTRACTS_TEST_SPINNER, MSG_L1_CONTRACTS_TEST_SUCCESS}; +use crate::messages::MSG_L1_CONTRACTS_TEST_SUCCESS; pub fn run(shell: &Shell) -> anyhow::Result<()> { let ecosystem = EcosystemConfig::from_file(shell)?; let _dir_guard = shell.push_dir(&ecosystem.link_to_code); - let spinner = Spinner::new(MSG_L1_CONTRACTS_TEST_SPINNER); - Cmd::new(cmd!(shell, "yarn l1-contracts test")).run()?; - spinner.finish(); + Cmd::new(cmd!(shell, "yarn l1-contracts test")) + .with_force_run() + .run()?; logger::outro(MSG_L1_CONTRACTS_TEST_SUCCESS); diff --git a/zk_toolbox/crates/zk_supervisor/src/messages.rs b/zk_toolbox/crates/zk_supervisor/src/messages.rs index 62a42e18932e..203dfcfb4ff4 100644 --- a/zk_toolbox/crates/zk_supervisor/src/messages.rs +++ b/zk_toolbox/crates/zk_supervisor/src/messages.rs @@ -78,7 +78,6 @@ pub(super) const MSG_TESTS_EXTERNAL_NODE_HELP: &str = "Run tests for external no pub(super) const MSG_TESTS_RECOVERY_SNAPSHOT_HELP: &str = "Run recovery from a snapshot instead of genesis"; pub(super) const MSG_L1_CONTRACTS_ABOUT: &str = "Run L1 contracts tests"; -pub(super) const MSG_L1_CONTRACTS_TEST_SPINNER: &str = "Running L1 contracts tests..."; pub(super) const MSG_L1_CONTRACTS_TEST_SUCCESS: &str = "L1 contracts tests ran successfully"; // Integration tests related messages