Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve error handling test coverage #399

Closed

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add test coverage for error handling scenarios in executeSteps:

  • Add proper error propagation tests for transaction errors
  • Test insufficient funds, out of gas, and transaction underpriced errors
  • Update wallet mock implementation with required properties
  • Remove incorrect retry expectations

All changes are test-only, no source code modifications.

Tests have been run locally and pass successfully.

Link to Devin run: https://app.devin.ai/sessions/fa3ded7a8cc14e099573e465f6c0e8b6

- Add proper error propagation tests for transaction errors
- Update wallet mock with required properties
- Remove incorrect retry expectations

Co-Authored-By: Pedro Cunha <pedro@unevenlabs.com>
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
relay-sdk-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 7:27pm

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

Copy link

changeset-bot bot commented Dec 12, 2024

🦋 Changeset detected

Latest commit: bc5f645

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@reservoir0x/relay-sdk Patch
@reservoir0x/relay-kit-hooks Patch
@reservoir0x/relay-bitcoin-wallet-adapter Patch
@reservoir0x/relay-ethers-wallet-adapter Patch
@reservoir0x/relay-svm-wallet-adapter Patch
@reservoir0x/relay-kit-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant