Skip to content

Commit

Permalink
Fixed assertion for equality that's not strict.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Dorlus committed Apr 30, 2020
1 parent 317369d commit ade2ece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export default function({ getService }) {
];
const sortedExpectedKeys = expectedKeys.sort();
const sortedReceivedKeys = Object.keys(body[0]).sort();
expect(sortedReceivedKeys).to.equal(sortedExpectedKeys);
expect(sortedReceivedKeys).to.eql(sortedExpectedKeys);
});
});

Expand Down

0 comments on commit ade2ece

Please sign in to comment.