clippy, and don't hash invisible files for ts generation

This commit is contained in:
Jonathan Kelley committed 2024-03-05 22:38:38 -08:00
1 parent 39d6580eca
commit 4b2e426958
27 files changed
+173 -936

No files matched your search

+2 -2
View File
@@ -437,7 +437,7 @@ fn test_focus_out_div() -> Element {
}
fn test_form_input() -> Element {
let mut values = use_signal(|| HashMap::new());
let mut values = use_signal(HashMap::new);
utils::mock_event_with_extra(
"form-username",
@@ -489,7 +489,7 @@ fn test_form_input() -> Element {
}
fn test_form_submit() -> Element {
let mut values = use_signal(|| HashMap::new());
let mut values = use_signal(HashMap::new);
utils::mock_event_with_extra(
"form-submitter",
+1 -1
View File
@@ -14,7 +14,7 @@ fn use_inner_html(id: &'static str) -> Option<String> {
use_effect(move || {
spawn(async move {
tokio::time::sleep(std::time::Duration::from_millis(2000)).await;
tokio::time::sleep(std::time::Duration::from_millis(500)).await;
let res = eval(&format!(
r#"let element = document.getElementById('{}');
+1 -1
View File
@@ -36,7 +36,7 @@ pub fn mock_event_with_extra(id: &'static str, value: &'static str, extra: &'sta
EXPECTED_EVENTS.with_mut(|x| *x += 1);
spawn(async move {
tokio::time::sleep(std::time::Duration::from_millis(5000)).await;
tokio::time::sleep(std::time::Duration::from_millis(500)).await;
let js = format!(
r#"