Skip to content

Commit

Permalink
test: use toStrictEqual() over toEqual()
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jun 19, 2023
1 parent 6fbbb4e commit 9baa64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ describe("JSON-To-XML plugin", () => {
headers,
});

expect(JSON.parse(response.body)).toEqual(resBody);
expect(JSON.parse(response.body)).toStrictEqual(resBody);
expect(response.headers["content-type"]).toBe(
"application/json; charset=utf-8"
);
Expand Down

0 comments on commit 9baa64e

Please sign in to comment.