We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
filteringBodyRequest
1 parent 26bbb93 commit 0b18d07Copy full SHA for 0b18d07
1 file changed
types/index.d.ts
@@ -118,7 +118,9 @@ declare namespace nock {
118
filteringPath(regex: RegExp, replace: string): this
119
filteringPath(fn: (path: string) => string): this
120
filteringRequestBody(regex: RegExp, replace: string): this
121
- filteringRequestBody(fn: (body: string) => string): this
+ filteringRequestBody(
122
+ fn: (body: string, recordedBody: string) => string,
123
+ ): this
124
125
persist(flag?: boolean): this
126
replyContentLength(): this
0 commit comments