-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(auth, e2e): re-enable tests, use auth emulator
Found at least 2 unexpected real issues in RNFB along the way Found at least 3 Firebase internal errors marked with FIXME that need upstream logging Auth emulator is great, no API limits and now we can cover phone auth and email verify/signin flow in testing
- Loading branch information
Showing
10 changed files
with
545 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
exports.getE2eTestProject = function getE2eTestProject() { | ||
return 'react-native-firebase-testing'; | ||
}; | ||
|
||
exports.getE2eEmulatorHost = function getE2eEmulatorHost() { | ||
// Note that in most package implementations involving the emulator, we re-write | ||
// localhost and 127.0.0.1 on Android to 10.0.2.2 (the Android emulator host interface) | ||
// But this specific code is executing in the host context even during E2E test. | ||
// So no re-write is necessary here. | ||
return 'localhost'; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
4c68841
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: