(projectId: string)
| 81 | * Construct a fake configuration based on the project ID. |
| 82 | */ |
| 83 | export function constructDefaultWebSetup(projectId: string): WebConfig { |
| 84 | return { |
| 85 | projectId, |
| 86 | databaseURL: `https://${projectId}.firebaseio.com`, |
| 87 | storageBucket: `${projectId}.appspot.com`, |
| 88 | apiKey: "fake-api-key", |
| 89 | authDomain: `${projectId}.firebaseapp.com`, |
| 90 | }; |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * TODO: deprecate this function in favor of `getAppConfig()` in `/src/management/apps.ts` |
no outgoing calls
no test coverage detected
searching dependent graphs…