We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a6b844 commit f9cfdacCopy full SHA for f9cfdac
packages/rules-unit-testing/src/public_types/index.ts
@@ -153,9 +153,11 @@ export interface RulesTestEnvironment {
153
/**
154
* A readonly copy of the emulator config specified or discovered at test environment creation.
155
*/
156
- readonly emulators: Readonly<
157
- Record<'database' | 'firestore' | 'storage', Readonly<EmulatorConfig>>
158
- >;
+ readonly emulators: {
+ database?: { host: string; port: number };
+ firestore?: { host: string; port: number };
159
+ storage?: { host: string; port: number };
160
+ };
161
162
163
* Create a {@code RulesTestContext} which behaves like an authenticated Firebase Auth user.
0 commit comments