Skip to content

Commit 89cc08c

Browse files
committed
fix: test call casing
1 parent 6a43d9f commit 89cc08c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/coverage.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ describe("coverage", () => {
134134
getCalls(openrpcDocument: OpenrpcDocument, method: any) {
135135
return [];
136136
}
137-
async validateCall(Call: Call) {
138-
return Call;
137+
async validateCall(call: Call) {
138+
return call;
139139
}
140140
}
141141
const myCustomRule = new MyCustomRule();
@@ -187,8 +187,8 @@ describe("coverage", () => {
187187
onBegin() {}
188188
onTestBegin() {}
189189
onTestEnd() {}
190-
onEnd(options: IOptions, Calls: Call[]) {
191-
expect(Calls[0].result).toBe(true);
190+
onEnd(options: IOptions, calls: Call[]) {
191+
expect(calls[0].result).toBe(true);
192192
done();
193193
}
194194
}

0 commit comments

Comments
 (0)