فهرست منبع

fix: use tokio for test

Jonathan Kelley 2 سال پیش
والد
کامیت
02b1a73890
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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 {