chore: tweak fragments and tests
This commit is contained in:
1 parent
0e5a59f9ed
commit
4bfd936e12
9 files changed
+638
-539
No files matched your search
@@ -18,3 +18,13 @@ fn root_node_isnt_null() {
|
||||
// todo: there should also be a default error boundary
|
||||
assert!(scope.has_context::<SuspenseContext>().is_some());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn elements() {
|
||||
let mut dom = VirtualDom::new(|cx| {
|
||||
//
|
||||
cx.render(rsx!( div { "Hello world!" } ))
|
||||
});
|
||||
|
||||
let muts = dom.rebuild();
|
||||
}
|
||||
Reference in new issue
Block a user