Skip to content

Commit 1ac7a8c

Browse files
committed
fix: expect lint hook for existing TS codebases
1 parent 888bc25 commit 1ac7a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/init/features/functions.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ describe("functions", () => {
150150
"firebase-debug.*.log",
151151
"*.local",
152152
],
153-
predeploy: [],
153+
predeploy: ['npm --prefix "$RESOURCE_DIR" run lint'],
154154
},
155155
{
156156
source: "testsource2",
@@ -196,7 +196,7 @@ describe("functions", () => {
196196
"firebase-debug.*.log",
197197
"*.local",
198198
],
199-
predeploy: [],
199+
predeploy: ['npm --prefix "$RESOURCE_DIR" run lint'],
200200
},
201201
]);
202202
expect(askWriteProjectFileStub.getCalls().map((call) => call.args[0])).to.deep.equal([

0 commit comments

Comments
 (0)