use hooch::runtime::RuntimeBuilder;
#[test]
fn test_join_handle() {
let runtime_handle = RuntimeBuilder::default().build();
runtime_handle.run_blocking(async {
RuntimeBuilder::default().build();
let handle = hooch::spawner::Spawner::spawn(async { 3 });
let value = handle.await.unwrap();
assert!(value == 3)
})
}