mirror of
https://github.com/exchanges-lab/tradesync.git
synced 2026-08-06 05:34:49 +08:00
feat: initialize project structure, modules and configurations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
use nosync::{ModuleA, ModuleB};
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_integration_module_b() {
|
||||
let module_a =
|
||||
ModuleA::new("integration-b-processor".to_string()).expect("Failed to create ModuleA");
|
||||
let module_b = ModuleB::new(module_a).expect("Failed to create ModuleB");
|
||||
let res = module_b.run().await;
|
||||
assert!(res.is_ok());
|
||||
}
|
||||
Reference in New Issue
Block a user