Skip to content

Commit

Permalink
Fix type issues in test files.
Browse files Browse the repository at this point in the history
  • Loading branch information
taeold committed Nov 7, 2024
1 parent 1dc06f1 commit 6013e18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/common/providers/https.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function runCallableTest(test: CallTest): Promise<any> {
expect(request.data).to.deep.equal(test.expectedData);
return test.callableFunction2(request);
},
"v2"
"gcfv2"
);

const responseV2 = await runHandler(callableFunctionV2, test.httpRequest);
Expand Down Expand Up @@ -773,7 +773,7 @@ describe("onCallHandler", () => {
resp.write("hello");
return "world";
},
"v2"
"gcfv2"
);

const resp = await runHandler(fn, mockReq);
Expand All @@ -795,7 +795,7 @@ describe("onCallHandler", () => {
() => {
throw new Error("BOOM");
},
"v2"
"gcfv2"
);

const resp = await runHandler(fn, mockReq);
Expand Down

0 comments on commit 6013e18

Please sign in to comment.