
function emulatorSettings() {

  // [START functions_emulator_connect]
  Functions.useFunctionsEmulator("http://localhost:5001")
  // [END functions_emulator_connect]
}


function emulatorSettings() {

  // [START functions_emulator_connect]
  firebase.functions().useFunctionsEmulator("http://localhost:5001")
  // [END functions_emulator_connect]
}

Update emulator-suite.js