Skip to content

Commit

Permalink
test(autonomi): fix wasm test
Browse files Browse the repository at this point in the history
  • Loading branch information
b-zee committed Dec 16, 2024
1 parent e4f9fb9 commit 62805cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autonomi/tests/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use std::time::Duration;

use ant_networking::target_arch::sleep;
use autonomi::Client;
use test_utils::{evm::get_funded_wallet, gen_random_data, peers_from_env};
use test_utils::{evm::get_funded_wallet, gen_random_data};
use wasm_bindgen_test::*;

wasm_bindgen_test_configure!(run_in_browser);
Expand All @@ -21,7 +21,7 @@ wasm_bindgen_test_configure!(run_in_browser);
async fn put() -> Result<(), Box<dyn std::error::Error>> {
enable_logging_wasm("ant-networking,autonomi,wasm");

let client = Client::connect(&peers_from_env()?).await?;
let client = Client::init_local().await?;
let wallet = get_funded_wallet();
let data = gen_random_data(1024 * 1024 * 10);

Expand Down

0 comments on commit 62805cb

Please sign in to comment.