(opts: Opts)
| 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; |