HostAndPort interface

An object containing the hostname and port number of an emulator.

Signature:

export interface HostAndPort 

Properties

Property Type Description
host string The host of the emulator. Can be omitted if discovered automatically through the hub or specified via environment variables. See TestEnvironmentConfig for details.
port number The port of the emulator. Can be omitted if discovered automatically through the hub or specified via environment variables. See TestEnvironmentConfig for details.

HostAndPort.host

The host of the emulator. Can be omitted if discovered automatically through the hub or specified via environment variables. See TestEnvironmentConfig for details.

Signature:

host: string;

HostAndPort.port

The port of the emulator. Can be omitted if discovered automatically through the hub or specified via environment variables. See TestEnvironmentConfig for details.

Signature:

port: number;

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 20, 2025

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Feb 20, 2025