Skip to content

@firebase/testing Produces grpc Deprecation Warning #1780

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

Closed
adamduren opened this issue May 11, 2019 · 2 comments
Closed

@firebase/testing Produces grpc Deprecation Warning #1780

adamduren opened this issue May 11, 2019 · 2 comments
Assignees
Labels
testing-sdk testing with emulator

Comments

@adamduren
Copy link

adamduren commented May 11, 2019

Any test I create using the @firebase/testing library litters my test output with DeprecationWarnings.

(node:10167) DeprecationWarning: grpc.load: Use the @grpc/proto-loader module with grpc.loadPackageDefinition instead

@firebase/testing: "~0.9.4"

Not sure how simple the fix is as I am unfamiliar with the library but I'm pretty sure it's this line.

const PROTOS = grpc.load(PROTO_ROOT, /* format = */ 'proto');

@google-oss-bot
Copy link
Contributor

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@ryanpbrewster
Copy link
Contributor

This was fixed by #1806

@firebase firebase locked and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing-sdk testing with emulator
Projects
None yet
Development

No branches or pull requests

5 participants