Parcourir la source

fix: use tokio for test

Jonathan Kelley il y a 2 ans
Parent
commit
02b1a73890
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 {