I need to unit test an application that uses firebase. My unit tests always says "Unhandled Exception: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()". I absolutely understand why this problem occurs. But I still want to unit test my methods without really starting firebase. Even Mocking the firebase stuff did not help. Hopefully you can help me out? What am I misunderstanding?
For Example I rewrote the code from this tutorial: https://www.youtube.com/watch?v=4d6hEaUVvuU
This is my test …