Skip to content

Commit

Permalink
chore: change component client server integration test use order
Browse files Browse the repository at this point in the history
commit-id:56f63265
  • Loading branch information
Itay-Tsabary-Starkware committed Jun 6, 2024
1 parent 41a4675 commit d56c100
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/mempool_infra/tests/component_server_client_test.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
mod common;

use async_trait::async_trait;
use common::{ComponentATrait, ComponentBTrait};
use starknet_mempool_infra::component_client::ComponentClient;
use starknet_mempool_infra::component_definitions::{
ComponentRequestAndResponseSender, ComponentRequestHandler,
Expand All @@ -10,10 +13,6 @@ use tokio::task;
type ValueA = u32;
type ValueB = u8;

mod common;

use common::{ComponentATrait, ComponentBTrait};

struct ComponentA {
b: Box<dyn ComponentBTrait>,
}
Expand Down

0 comments on commit d56c100

Please sign in to comment.