From 98158bdc6f72e2a1e9c927564aebc4141132a82e Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Fri, 8 Mar 2024 10:54:02 -0600 Subject: [PATCH] fix headless tests --- packages/desktop/headless_tests/rendering.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/desktop/headless_tests/rendering.rs b/packages/desktop/headless_tests/rendering.rs index df050ed10..f5e63acd8 100644 --- a/packages/desktop/headless_tests/rendering.rs +++ b/packages/desktop/headless_tests/rendering.rs @@ -25,14 +25,13 @@ fn use_inner_html(id: &'static str) -> Option { .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#"

text

hello world

"#;