feat: simple tests passing
This commit is contained in:
1 parent
23603aaaf5
commit
4a31b29703
27 files changed
+1565
-372
No files matched your search
@@ -0,0 +1,26 @@
|
||||
use dioxus_core::prelude::*;
|
||||
|
||||
fn app(cx: Scope) -> Element {
|
||||
todo!();
|
||||
// render! {
|
||||
// Suspend {
|
||||
// delay: Duration::from_millis(100),
|
||||
// fallback: rsx! { "Loading..." },
|
||||
// ChildAsync {}
|
||||
// ChildAsync {}
|
||||
// ChildAsync {}
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
async fn ChildAsync(cx: Scope<'_>) -> Element {
|
||||
todo!()
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
let mut dom = VirtualDom::new(app);
|
||||
|
||||
let mut mutations = vec![];
|
||||
dom.rebuild(&mut mutations);
|
||||
}
|
||||
Reference in new issue
Block a user