Skip to content

Commit

Permalink
Ignore email tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoniosBarotsis committed Dec 10, 2024
1 parent 908030f commit 11e8cfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/emails.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ mod test {

#[tokio_shared_rt::test(shared = true)]
#[cfg(not(feature = "blocking"))]
#[ignore]
async fn all() -> Result<()> {
let from = "Acme <[email protected]>";
let to = ["[email protected]"];
Expand Down Expand Up @@ -565,6 +566,7 @@ mod test {
}

#[test]
#[ignore]
#[cfg(feature = "blocking")]
fn all_blocking() -> Result<()> {
let from = "Acme <[email protected]>";
Expand All @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion src/rate_limit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 11e8cfd

Please sign in to comment.