Skip to content

Commit

Permalink
Simplify test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
rylnd committed Nov 10, 2020
1 parent 52e67a3 commit 6bb0f63
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,7 @@ describe('EQL search strategy', () => {

expect(response).toEqual(
expect.objectContaining({
rawResponse: expect.objectContaining({
body: getMockEqlResponse().body,
meta: getMockEqlResponse().meta,
statusCode: getMockEqlResponse().statusCode,
}),
rawResponse: expect.objectContaining(getMockEqlResponse()),
})
);
});
Expand Down

0 comments on commit 6bb0f63

Please sign in to comment.