Skip to content

Commit

Permalink
Add comment if assertion fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
futursolo committed Apr 24, 2022
1 parent 32a3ca5 commit d8edd96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/yew/tests/hydration.rs
Expand Up @@ -17,6 +17,9 @@ use yew::{Renderer, ServerRenderer};

wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser);

// If any of the assertions fail due to a modification to hydration logic, cargo will suggest the
// expected result and you can copy it into the test to fix it.

#[wasm_bindgen_test]
async fn hydration_works() {
#[function_component]
Expand Down

0 comments on commit d8edd96

Please sign in to comment.