소스 검색

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 {