We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17206d7 commit 217f877Copy full SHA for 217f877
packages/fetch-mock/src/CallHistory.ts
@@ -127,7 +127,10 @@ class CallHistory {
127
called(filter?: CallHistoryFilter, options?: RouteConfig): boolean {
128
return Boolean(this.calls(filter, options).length);
129
}
130
- lastCall(filter?: CallHistoryFilter, options?: RouteConfig): CallLog | undefined {
+ lastCall(
131
+ filter?: CallHistoryFilter,
132
+ options?: RouteConfig,
133
+ ): CallLog | undefined {
134
return this.calls(filter, options).pop();
135
136
0 commit comments