Browse Source

fix: use tokio for test

Jonathan Kelley 2 years ago
parent
commit
02b1a73890
1 changed files with 1 additions and 1 deletions
  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 {