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(google-serverless): Migrate to Vitest #15567

Merged
merged 8 commits into from
Mar 25, 2025

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Mar 4, 2025

test/integrations/google-cloud-grpc.test.ts is still failing and probably needs simplifying

This rewrite makes the tests less accurate because we are no longer
testing against google-gax directly, but this feels like something we
should be doing in our integration tests instead.

As an alternative we check that we are filling the prototype correctly,
and then if we are patching the google-gax stub properly. This also
allows us to drop googleapis and google-gax as dev deps.
@AbhiPrasad
Copy link
Member

Pushed up a12a493

I'm just going to go with this so we can merge this in. I know it's not ideal, but serverless isn't extremely high priority for us to figure out these problems. We should eventually move this over to use OTEL instrumentation anyway.

@AbhiPrasad AbhiPrasad marked this pull request as ready for review March 25, 2025 22:51
@AbhiPrasad AbhiPrasad self-assigned this Mar 25, 2025
@AbhiPrasad AbhiPrasad enabled auto-merge (squash) March 25, 2025 22:58
@AbhiPrasad AbhiPrasad merged commit 12c5e73 into develop Mar 25, 2025
151 of 152 checks passed
@AbhiPrasad AbhiPrasad deleted the timfish/test/vitest-google branch March 25, 2025 23:15
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.

2 participants