浏览代码

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 {