diff --git a/ci/run_tests.sh b/ci/run_tests.sh index bb46007f7..8fa83904c 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -7,12 +7,15 @@ set -euxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_ && cargo test --doc --features doc_test,wasm_test,yaml,msgpack,cbor,toml \ --features std_web,agent,services --no-default-features) -(cd yew-functional \ - && cargo test --target wasm32-unknown-unknown) +(cd yew-functional && cargo test --target wasm32-unknown-unknown) (cd yew-macro \ && cargo test --test macro_test \ && cargo test --test derive_props_test \ && cargo test --doc) +(cd yew-router && cargo test) +(cd yew-router-macro && cargo test) +(cd yew-router-route-parser && cargo test) + (cd yew-stdweb && cargo test --target wasm32-unknown-unknown --features wasm_test) diff --git a/yew-router/src/router.rs b/yew-router/src/router.rs index 46f0091d4..c9538429e 100644 --- a/yew-router/src/router.rs +++ b/yew-router/src/router.rs @@ -35,6 +35,9 @@ impl RouterState for STATE where STATE: RouteState + PartialEq {} /// # fn update(&mut self, msg: Self::Message) -> ShouldRender { /// # false /// # } +/// # fn change(&mut self, props: Self::Properties) -> ShouldRender { +/// # false +/// # } /// /// fn view(&self) -> VNode { /// html! {