Skip to content

Commit

Permalink
Merge branch 'main' into interrogate-contexxt
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 5, 2023
2 parents bc9d975 + 36a13fd commit 2601865
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
attributes:
label: Please avoid duplicates
options:
- label: I checked [all open bugs](https://github.com/nock/nock.js/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.
- label: I checked [all open bugs](https://github.com/nock/nock/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.
required: true
- type: input
id: testcase
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/02_feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
attributes:
label: Please avoid duplicates
options:
- label: I checked [all open feature requests](https://github.com/nock/nock.js/issues?q=is%3Aissue+is%3Aopen+label%3Afeature) and none of them matched my request.
- label: I checked [all open feature requests](https://github.com/nock/nock/issues?q=is%3Aissue+is%3Aopen+label%3Afeature) and none of them matched my request.
required: true
- type: textarea
id: context
Expand Down
4 changes: 3 additions & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ declare namespace nock {
filteringPath(regex: RegExp, replace: string): this
filteringPath(fn: (path: string) => string): this
filteringRequestBody(regex: RegExp, replace: string): this
filteringRequestBody(fn: (body: string) => string): this
filteringRequestBody(
fn: (body: string, recordedBody: string) => string,
): this

persist(flag?: boolean): this
replyContentLength(): this
Expand Down

0 comments on commit 2601865

Please sign in to comment.