Testing with nestjs-firebase #1798
Unanswered
ygordanniel
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I'm new to NestJS testing and I was wondering how would I go about testing my app.
When I try to run a unit test I'm getting:
Nest can't resolve dependencies of the PetsService (?). Please make sure that the argument "FIREBASE_TOKEN" at index [0] is available in the RootTestModule context.
.Here is my
PetService
constructor.Is there a way to mock that dependency injection?
Beta Was this translation helpful? Give feedback.
All reactions