Commit bd57f12
authored
feat(functions): Add emulator support for integration tests (#1897)
* feat(functions): Add emulator support for integration tests
- Modernize package.json dependencies in integration tests for functions, app_check, and messaging.
- Resolve vulnerability in uuid via dependency overrides.
- Introduce start.js to spin up local functions emulator dynamically on port 5005.
- Strip http:// and https:// prefixes from emulator host strings for iOS to prevent crashes on native iOS client initialization.
- Parse FUNCTIONS_EMULATOR_HOST environment variable and --functions_emulator_host flag, and connect functions clients in integration tests to the emulator.
* docs: Add release notes for Cloud Functions emulator support
* chore: Incorporate PR review feedback and apply formatting
* docs: Update integration test backend readmes with emulator instructions1 parent 28a1738 commit bd57f12
20 files changed
Lines changed: 9110 additions & 15 deletions
File tree
- app_check/integration_test
- functions
- functions
- src
- functions
- integration_test
- functions
- functions
- src
- src/ios
- messaging/integration_test
- functions
- functions
- src
- release_build_files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
| 7 | + | |
3 | 8 | | |
| 9 | + | |
4 | 10 | | |
0 commit comments