Skip to content

test: add resend plugin coverage#213

Open
sureshchouksey8 wants to merge 1 commit into
outerbase:mainfrom
sureshchouksey8:bounty/resend-plugin-tests
Open

test: add resend plugin coverage#213
sureshchouksey8 wants to merge 1 commit into
outerbase:mainfrom
sureshchouksey8:bounty/resend-plugin-tests

Conversation

@sureshchouksey8
Copy link
Copy Markdown

@sureshchouksey8 sureshchouksey8 commented May 14, 2026

/claim #71

Purpose

Adds focused Vitest coverage for the Resend plugin slice from #71.

Tasks

  • Cover initialization with and without an API key.
  • Cover successful Resend API request URL, method, headers, and JSON body.
  • Cover API error propagation from Resend response payloads.
  • Cover fallback error handling when Resend omits a message.

Verify

  • npx pnpm@9.15.4 vitest run plugins/resend/index.test.ts passes locally.
  • npx pnpm@9.15.4 exec prettier --write plugins/resend/index.test.ts completed with no changes after formatting.
  • git diff --check passes locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant