fix remaining core tests

This commit is contained in:
Evan Almloff committed 2024-01-15 11:06:27 -06:00
1 parent 51441b44ca
commit b039d6acc0
11 files changed
+174 -170

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
use dioxus::prelude::*;
#[test]
fn it_works() {
fn suspense_resolves() {
// wait just a moment, not enough time for the boundary to resolve
tokio::runtime::Builder::new_current_thread()
@@ -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(&mut dioxus_core::NoOpMutations);
dom.wait_for_suspense().await;
let out = dioxus_ssr::render(&dom);