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

[Feature]: Add test mocks for grpc backend #203

Closed
Slartibartfass2 opened this issue Feb 10, 2025 · 0 comments · Fixed by #204
Closed

[Feature]: Add test mocks for grpc backend #203

Slartibartfass2 opened this issue Feb 10, 2025 · 0 comments · Fixed by #204
Assignees
Labels
enhancement New feature or request

Comments

@Slartibartfass2
Copy link
Contributor

To which use case does your feature request relate?

No response

Is your feature request related to a problem? Please describe

Currently, when a gRPC call is used in a test, the error is caught and printed to stderr (as it should be) but sometimes the result is necessary for testing. Therefore, we need to mock those calls to test components that use those calls to the API inside them.

Describe the solution you'd like

Use vitest to mock those calls.

Describe alternatives you've considered

No response

Anything else?

No response

@Slartibartfass2 Slartibartfass2 added the enhancement New feature or request label Feb 10, 2025
@Slartibartfass2 Slartibartfass2 self-assigned this Feb 10, 2025
@Slartibartfass2 Slartibartfass2 linked a pull request Feb 10, 2025 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

1 participant