mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
fix headless tests
This commit is contained in:
parent
4bc2f4a713
commit
98158bdc6f
1 changed files with 1 additions and 2 deletions
|
@ -25,14 +25,13 @@ fn use_inner_html(id: &'static str) -> Option<String> {
|
|||
.unwrap();
|
||||
|
||||
if let Some(html) = res.as_str() {
|
||||
// serde_json::Value::String(html)
|
||||
println!("html: {}", html);
|
||||
value.set(Some(html.to_string()));
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
value.read().clone()
|
||||
value()
|
||||
}
|
||||
|
||||
const EXPECTED_HTML: &str = r#"<div style="width: 100px; height: 100px; color: rgb(0, 0, 0);" id="5"><input type="checkbox"><h1>text</h1><div><p>hello world</p></div></div>"#;
|
||||
|
|
Loading…
Reference in a new issue