Vitest fails when trying to unit test a firebase functions utility function
I am trying to write a simple unit test for a utility function in my Firebase cloud functions. The test suite fails showing an error with the “firebase-functions” package, however I am not using and or testing anything Firebase related in this test. Not sure why the Vitest is failing. Any help is greatly appreciated.
Vitest fails when trying to unit test a firebase functions utility function
I am trying to write a simple unit test for a utility function in my Firebase cloud functions. The test suite fails showing an error with the “firebase-functions” package, however I am not using and or testing anything Firebase related in this test. Not sure why the Vitest is failing. Any help is greatly appreciated.