Skip to content

Commit

Permalink
chore: fix Axum test setup (#3651)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj authored Feb 25, 2025
1 parent 848fd72 commit 42988b1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions integrations/axum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,9 @@ pub fn generate_request_and_parts(
/// .await
/// .unwrap();
/// }
///
/// # #[cfg(not(feature = "default"))]
/// # fn main() { }
/// ```
/// Leptos provides a generic implementation of `handle_server_fns`. If access to more specific parts of the Request is desired,
/// you can specify your own server fn handler based on this one and give it it's own route in the server macro.
Expand Down Expand Up @@ -469,6 +472,9 @@ pub type PinnedHtmlStream =
/// .await
/// .unwrap();
/// }
///
/// # #[cfg(not(feature = "default"))]
/// # fn main() { }
/// ```
///
/// ## Provided Context Types
Expand Down Expand Up @@ -555,6 +561,9 @@ where
/// .await
/// .unwrap();
/// }
///
/// # #[cfg(not(feature = "default"))]
/// # fn main() { }
/// ```
///
/// ## Provided Context Types
Expand Down Expand Up @@ -961,6 +970,9 @@ fn provide_contexts(
/// .await
/// .unwrap();
/// }
///
/// # #[cfg(not(feature = "default"))]
/// # fn main() { }
/// ```
///
/// ## Provided Context Types
Expand Down

0 comments on commit 42988b1

Please sign in to comment.