Browse Source

fix: use tokio for test

Jonathan Kelley 2 năm trước cách đây
mục cha
commit
02b1a73890
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/core/tests/miri_simple.rs

+ 1 - 1
packages/core/tests/miri_simple.rs

@@ -62,7 +62,7 @@ fn contexts_drop() {
     _ = dom.render_immediate();
 }
 
-#[test]
+#[tokio::test]
 fn tasks_drop() {
     fn app(cx: Scope) -> Element {
         cx.spawn(async {