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

plugin-avail: test config and coverage #2996

Closed
ai16z-demirix opened this issue Jan 29, 2025 · 0 comments
Closed

plugin-avail: test config and coverage #2996

ai16z-demirix opened this issue Jan 29, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@ai16z-demirix
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The plugin-avail package currently lacks proper test coverage. There are no tests to verify the functionality of the actions, error handling, or integration with the Avail network. This makes it difficult to ensure reliability and catch potential issues before they reach production.

Describe the solution you'd like

Add comprehensive test coverage using vitest for the plugin-avail package, including:

  • Unit tests for all actions (submitData, transfer)
  • Error handling tests
  • Mock implementations for Avail SDK
  • Test utilities and fixtures
  • Proper test configuration
    This will help ensure code reliability and make it easier to maintain and extend the package in the future.

Describe alternatives you've considered

Additional context

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

No branches or pull requests

2 participants