connectFirestoreEmulator
Modify this instance to communicate with the Cloud Firestore emulator.
Note: This must be called before this instance has been used to do any operations.
function connectFirestoreEmulator(
firestore: Firestore,
host: string,
port: number,
options?: {
): void;mockUserToken?: EmulatorMockTokenOptions | string;
},§
connectFirestoreEmulator(firestore: Firestore, host: string, port: number, options?: {
[src]mockUserToken?: EmulatorMockTokenOptions | string;
}): void§Parameters
§
options?: {
[src]mockUserToken?: EmulatorMockTokenOptions | string;
} optional