This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 92
API Key is invalid on tests with Karma + Jasmine #63
Comments
What's the exact value of Where connecting to a real firebase is
I was able to connect to firebase-server with
|
@cheriot CONF is a service to provide the config for my environments. Here is the value when I'm testing.
|
Believe seeing this every now and then too. For now I have been re-running CI builds, and it seems to fix things. |
I'm getting consistent invalid API key errors |
See firebase/firebase-js-sdk#426 - seems like the 127.0.1 hack is no longer required. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm struggling to use firebase-server with Karma + Jasmine.
I have a web app made with AngularJS, in my app.js I make something like this:
CONF is a factory which returns the Firebase 3 configuration with databaseURL, apiKey, etc...
I'm using "browserify" with Karma, to be able to load modules to my tests, so my test looks like:
I already made other tests work using firebase-server running by command line and then running tests.
But now I'm trying not do do this, but use FirebaseServer inside my tests, and with that scenario I'm getting that error:
So, I know firebase-server is just starting to support Firebase 3.
What I need to know is, is there a way to make this work? Or is better I keep going with command line to run my tests?
The text was updated successfully, but these errors were encountered: