work on fixing some core tests

This commit is contained in:
Evan Almloff committed 2024-01-10 19:21:15 -06:00
1 parent 4a1a00b0f0
commit 55f76fede6
35 files changed
+422 -460

No files matched your search

+3 -3
View File
@@ -9,7 +9,7 @@ fn it_works() {
.unwrap()
.block_on(async {
let mut dom = VirtualDom::new(app);
_ = dom.rebuild(&mut dioxus_core::NoOpMutations);
_ = dom.rebuild_to_vec(&mut dioxus_core::NoOpMutations);
dom.wait_for_suspense().await;
let out = dioxus_ssr::render(&dom);
@@ -20,12 +20,12 @@ fn it_works() {
}
fn app(cx: Scope) -> Element {
cx.render(rsx!(
render!(
div {
"Waiting for... "
suspended_child {}
}
))
)
}
fn suspended_child(cx: Scope) -> Element {