MCPcopy Create free account
hub / github.com/firebase/firebase-tools / setOptsAndDeploy

Function setOptsAndDeploy

scripts/functions-deploy-tests/tests.ts:108–115  ·  view source on GitHub ↗
(opts: Opts)

Source from the content-addressed store, hash-verified

106 console.log(`TEST RUN: ${RUN_ID}`);
107
108 async function setOptsAndDeploy(opts: Opts): Promise<cli.Result> {
109 await setOpts(opts);
110 const args = ["--only", "functions", "--non-interactive", "--force"];
111 if (FIREBASE_DEBUG) {
112 args.push("--debug");
113 }
114 return await cli.exec("deploy", FIREBASE_PROJECT, args, __dirname, false);
115 }
116
117 before(async () => {
118 expect(FIREBASE_PROJECT).to.not.be.empty;

Callers 1

tests.tsFile · 0.85

Calls 1

setOptsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…