Skip to content

Commit 753648c

Browse files
committed
Fix broken test.
1 parent 55b6e4c commit 753648c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/bin-test/test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ const DEFAULT_OPTIONS = {
1818
maxInstances: null,
1919
minInstances: null,
2020
timeoutSeconds: null,
21-
vpc: {
22-
connector: null,
23-
egressSettings: null,
24-
},
21+
vpc: null,
2522
serviceAccountEmail: null,
2623
ingressSettings: null,
2724
};
@@ -103,7 +100,7 @@ async function startBin(
103100
const getPort = promisify(portfinder.getPort) as () => Promise<number>;
104101
const port = await getPort();
105102

106-
const proc = subprocess.spawn("./node_modules/.bin/firebase-functions", [], {
103+
const proc = subprocess.spawn("npx", ["firebase-functions"], {
107104
cwd: path.resolve(tc.modulePath),
108105
env: {
109106
PATH: process.env.PATH,

0 commit comments

Comments
 (0)