mirror of https://github.com/yewstack/yew
Enable yew-router tests in CI
This commit is contained in:
parent
9c0951513d
commit
9a7acdd58c
|
@ -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)
|
||||
|
|
|
@ -35,6 +35,9 @@ impl<STATE> 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! {
|
||||
|
|
Loading…
Reference in New Issue