fix: use tokio for test
This commit is contained in:
1 parent
74fba3b579
commit
02b1a73890
1 file changed
+1
-1
@@ -62,7 +62,7 @@ fn contexts_drop() {
|
|||||||
_ = dom.render_immediate();
|
_ = dom.render_immediate();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[tokio::test]
|
||||||
fn tasks_drop() {
|
fn tasks_drop() {
|
||||||
fn app(cx: Scope) -> Element {
|
fn app(cx: Scope) -> Element {
|
||||||
cx.spawn(async {
|
cx.spawn(async {
|
||||||
|
|||||||
Reference in new issue
Block a user