Skip to content

Commit

Permalink
Add matchPartialBody to typings
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanschenk committed Jun 22, 2020
1 parent 0b24899 commit 83d3f20
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ declare namespace fetchMock {
* @default true
*/
includeContentLength?: boolean;

/**
* Match calls that only partially match a specified body json.
*/
matchPartialBody?: boolean;
}

interface MockCall extends Array<string | RequestInit | undefined> {
Expand Down

0 comments on commit 83d3f20

Please sign in to comment.