diff --git a/zk_toolbox/crates/zk_supervisor/src/commands/test/integration.rs b/zk_toolbox/crates/zk_supervisor/src/commands/test/integration.rs index feabd11951b..fb3e1436acc 100644 --- a/zk_toolbox/crates/zk_supervisor/src/commands/test/integration.rs +++ b/zk_toolbox/crates/zk_supervisor/src/commands/test/integration.rs @@ -39,7 +39,7 @@ pub async fn run(shell: &Shell, args: IntegrationArgs) -> anyhow::Result<()> { .init_test_wallet(&ecosystem_config, &chain_config) .await?; - let test_pattern: Option<&str> = args.test_pattern.as_ref().map(|x| x.as_str()); + let test_pattern = args.test_pattern; let mut command = cmd!( shell, "yarn jest --forceExit --testTimeout 120000 -t {test_pattern...}"