katowulf / mockfirebase

Firebase mock library for writing unit tests (experimental)
157 stars 40 forks source link

onAuth function is undefined #36

Closed lowe0292 closed 9 years ago

lowe0292 commented 9 years ago

I'm trying to mock a service that's connected to firebase and includes auth from 2.0.4.

My service is functional (I've tested it manually), but my unit test keeps throwing the following error:

TypeError: 'undefined' is not a function (evaluating 'ref.onAuth')

bendrucker commented 9 years ago

Will be added as part of #32