fix: use tokio for test

This commit is contained in:
Jonathan Kelley committed 2022-12-13 15:48:40 -08:00
1 parent 74fba3b579
commit 02b1a73890
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ fn contexts_drop() {
_ = dom.render_immediate();
}
#[test]
#[tokio::test]
fn tasks_drop() {
fn app(cx: Scope) -> Element {
cx.spawn(async {