Skip to content

Commit

Permalink
Merge pull request #574 from stefanschenk/patch-1
Browse files Browse the repository at this point in the history
Add `matchPartialBody` to typings
  • Loading branch information
wheresrhys committed Jun 24, 2020
2 parents 0b24899 + 83d3f20 commit 684a0b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/index.d.ts
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 684a0b4

Please sign in to comment.