Skip to content

Commit

Permalink
tests: check the body
Browse files Browse the repository at this point in the history
  • Loading branch information
XVincentX committed Apr 17, 2019
1 parent dd3a57b commit 088d6d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/http/src/mocker/__tests__/functional.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('http mocker', () => {
},
},
})
).resolves.toMatchObject({ headers: { 'Content-type': 'text/plain' } });
).resolves.toMatchObject({ headers: { 'Content-type': 'text/plain' }, body: undefined });
});
});

Expand Down Expand Up @@ -188,6 +188,7 @@ describe('http mocker', () => {
})
).resolves.toMatchObject({
headers: { 'Content-type': 'text/plain' },
body: undefined,
});
});
});
Expand Down

0 comments on commit 088d6d4

Please sign in to comment.