-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(app): fix issue with default instanceIdentifier [triage-skip] #26
Conversation
FirebaseApp's contract with the components is that the instanceIdentifier will be undefined if default (not the string '[DEFAULT]'). This was not tested by any existing tests and was broken in the async refactor. This fixes that issue and adds a test.
Looks good to me. |
I writing some unit for React with the Jest unit test framework but I got the following error while Here the stacktrace : ` FAIL src/components/organisms/PriceSettingsBlock/PriceSettingsBlock.test.js
Test file is here : My configuration is here: export const firebaseApp = firebase.initializeApp(firebaseConfig); And my configuration ( config.js): export const firebaseConfig = { Any idea ? |
@ataliadvanstep if you could create an issue demonstrating the behavior you are seeing, we can track that separately. |
@jshcrowthe I have create a new project with create-react-app: |
@jshcrowthe have you been able to reproduce the error ? |
@ataliadvanstep I created #73 to track this. Let's continue the conversation there 😄 |
Thanks :-)
…On Wed, Jun 21, 2017, 19:10 Josh Crowther ***@***.***> wrote:
@ataliadvanstep <https://github.com/ataliadvanstep> I created #73
<#73> to track this.
Let's continue the conversation there 😄
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZEcTD-V4VVHH354aQ1rXYw775gbNrWtks5sGU6TgaJpZM4NsC9p>
.
|
FirebaseApp's contract with the components is that the instanceIdentifier will be
undefined
in thedefault case (not the string
[DEFAULT]
). This was not tested by any existing tests and was broken in the async refactor. This fixes that issue and adds a test.