We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528f4d4 commit 5331130Copy full SHA for 5331130
src/tests.rs
@@ -45,7 +45,7 @@ impl AsyncTestContext for MainContext {
45
46
async fn login(test_host: String, test_token: String) {
47
let local_set = tokio::task::LocalSet::new();
48
- local_set.spawn_local(async move {
+ let handle = local_set.spawn_local(async move {
49
run_test(TestItem {
50
name: "login".to_string(),
51
args: vec![
@@ -64,6 +64,7 @@ async fn login(test_host: String, test_token: String) {
64
})
65
.await;
66
});
67
+ handle.await.unwrap();
68
}
69
70
#[test_context(MainContext)]
0 commit comments