[auth] Fix incorrect languageCode test
This commit is contained in:
parent
a8896bc9b8
commit
f4d29b9136
|
@ -363,7 +363,7 @@ function authTests({ tryCatch, describe, it, firebase }) {
|
|||
throw new Error('Expected language code to be "en".');
|
||||
}
|
||||
firebase.native.auth().languageCode = 'fr';
|
||||
if (firebase.native.auth().languageCode !== 'en') {
|
||||
if (firebase.native.auth().languageCode !== 'fr') {
|
||||
throw new Error('Expected language code to be "fr".');
|
||||
}
|
||||
firebase.native.auth().languageCode = 'en';
|
||||
|
|
Loading…
Reference in New Issue