From 11e8cfd0c627bfeb44e602cef2f2174349ab05db Mon Sep 17 00:00:00 2001 From: Antonios Barotsis Date: Tue, 10 Dec 2024 20:52:48 +0100 Subject: [PATCH] Ignore email tests --- src/emails.rs | 3 +++ src/rate_limit.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/emails.rs b/src/emails.rs index 3cec5a4..0dd3acc 100644 --- a/src/emails.rs +++ b/src/emails.rs @@ -487,6 +487,7 @@ mod test { #[tokio_shared_rt::test(shared = true)] #[cfg(not(feature = "blocking"))] + #[ignore] async fn all() -> Result<()> { let from = "Acme "; let to = ["delivered@resend.dev"]; @@ -565,6 +566,7 @@ mod test { } #[test] + #[ignore] #[cfg(feature = "blocking")] fn all_blocking() -> Result<()> { let from = "Acme "; @@ -585,6 +587,7 @@ mod test { #[tokio_shared_rt::test(shared = true)] #[cfg(not(feature = "blocking"))] + #[ignore] async fn schedule_email() -> Result<()> { let now_plus_1h = Zoned::now() .checked_add(Span::new().hours(1)) diff --git a/src/rate_limit.rs b/src/rate_limit.rs index 4368cb1..6fd6460 100644 --- a/src/rate_limit.rs +++ b/src/rate_limit.rs @@ -58,7 +58,7 @@ impl Default for RetryOptions { /// /// Sending an email: /// -/// ```rust +/// ```rust,no_run /// use resend_rs::{ /// rate_limit::{send_with_retry, send_with_retry_opts, RetryOptions}, /// types::CreateEmailBaseOptions,