fix: update import of tick in test examples

This commit is contained in:
Greg Johnston 2024-10-01 20:05:22 -04:00
parent 0d4f3b51e9
commit 29b2d3024a
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
use counter::*; use counter::*;
use leptos::mount::mount_to; use leptos::mount::mount_to;
use leptos::prelude::*; use leptos::prelude::*;
use leptos::spawn::tick; use leptos::task::tick;
use wasm_bindgen::JsCast; use wasm_bindgen::JsCast;
use wasm_bindgen_test::*; use wasm_bindgen_test::*;

View file

@ -1,5 +1,5 @@
use counter_without_macros::counter; use counter_without_macros::counter;
use leptos::{prelude::*, spawn::tick}; use leptos::{prelude::*, task::tick};
use pretty_assertions::assert_eq; use pretty_assertions::assert_eq;
use wasm_bindgen::JsCast; use wasm_bindgen::JsCast;
use wasm_bindgen_test::*; use wasm_bindgen_test::*;

View file

@ -4,7 +4,7 @@ use wasm_bindgen_test::*;
wasm_bindgen_test_configure!(run_in_browser); wasm_bindgen_test_configure!(run_in_browser);
use counters::Counters; use counters::Counters;
use leptos::prelude::*; use leptos::prelude::*;
use leptos::spawn::tick; use leptos::task::tick;
use web_sys::HtmlElement; use web_sys::HtmlElement;
#[wasm_bindgen_test] #[wasm_bindgen_test]

View file

@ -1,5 +1,5 @@
use directives::App; use directives::App;
use leptos::{prelude::*, spawn::tick}; use leptos::{prelude::*, task::tick};
use wasm_bindgen::JsCast; use wasm_bindgen::JsCast;
use wasm_bindgen_test::*; use wasm_bindgen_test::*;
use web_sys::HtmlElement; use web_sys::HtmlElement;

View file

@ -1,5 +1,5 @@
use js_framework_benchmark_leptos::*; use js_framework_benchmark_leptos::*;
use leptos::{prelude::*, spawn::tick}; use leptos::{prelude::*, task::tick};
use wasm_bindgen::JsCast; use wasm_bindgen::JsCast;
use wasm_bindgen_test::*; use wasm_bindgen_test::*;

View file

@ -3,7 +3,7 @@ use wasm_bindgen::JsCast;
use wasm_bindgen_test::*; use wasm_bindgen_test::*;
wasm_bindgen_test_configure!(run_in_browser); wasm_bindgen_test_configure!(run_in_browser);
use leptos::spawn::tick; use leptos::task::tick;
use leptos::{leptos_dom::helpers::document, mount::mount_to}; use leptos::{leptos_dom::helpers::document, mount::mount_to};
use web_sys::HtmlButtonElement; use web_sys::HtmlButtonElement;