Skip to content

Commit

Permalink
fix: ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
blephy committed Jan 28, 2025
1 parent 3467de6 commit 5ca878c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/mock-agent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ declare class MockAgent<TMockAgentOptions extends MockAgent.Options = MockAgent.
/** clear every call history. Any MockCallHistoryLog will be deleted on every MockCallHistory */
clearAllCallHistory (): void
/** Enable call history. Any subsequence calls will then be registered. Note that this has no effect on MockCallHistory registered with MockScope.registerCallHistory */
enableCallHistory (): void
enableCallHistory (): this
/** Disable call history. Any subsequence calls will then not be registered. Note that this has no effect on MockCallHistory registered with MockScope.registerCallHistory */
disableCallHistory (): void
disableCallHistory (): this
pendingInterceptors (): PendingInterceptor[]
assertNoPendingInterceptors (options?: {
pendingInterceptorsFormatter?: PendingInterceptorsFormatter;
Expand Down

0 comments on commit 5ca878c

Please sign in to comment.