Skip to content

Commit a62c6f9

Browse files
committed
detect open handles
1 parent bf96790 commit a62c6f9

File tree

1 file changed

+9
-6
lines changed
  • zkstack_cli/crates/zkstack/src/commands/dev/commands/test

1 file changed

+9
-6
lines changed

zkstack_cli/crates/zkstack/src/commands/dev/commands/test/fees.rs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,15 @@ pub async fn run(shell: &Shell, args: FeesArgs) -> anyhow::Result<()> {
4343
.init_test_wallet(&ecosystem_config, &chain_config)
4444
.await?;
4545

46-
let mut command = cmd!(shell, "yarn jest fees.test.ts --testTimeout 240000")
47-
.env("SPAWN_NODE", "1")
48-
.env("RUN_FEE_TEST", "1")
49-
.env("NO_KILL", args.no_kill.to_string())
50-
.env("CHAIN_NAME", ecosystem_config.current_chain())
51-
.env("MASTER_WALLET_PK", wallets.get_test_pk(&chain_config)?);
46+
let mut command = cmd!(
47+
shell,
48+
"yarn jest fees.test.ts --testTimeout 240000 --detectOpenHandles"
49+
)
50+
.env("SPAWN_NODE", "1")
51+
.env("RUN_FEE_TEST", "1")
52+
.env("NO_KILL", args.no_kill.to_string())
53+
.env("CHAIN_NAME", ecosystem_config.current_chain())
54+
.env("MASTER_WALLET_PK", wallets.get_test_pk(&chain_config)?);
5255

5356
if global_config().verbose {
5457
command = command.env(

0 commit comments

Comments
 (0)