Skip to content

Commit

Permalink
Merge pull request #592 from share/fix-test
Browse files Browse the repository at this point in the history
✅ Remove order dependence from test
  • Loading branch information
alecgibson authored Feb 21, 2023
2 parents 1ffa38a + daf3a25 commit a263d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/client/query-subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ module.exports = function(options) {
var wait = 2;
function finish() {
if (--wait) return;
expect(util.pluck(query.results, 'id')).to.eql(['fido', 'spot', 'taco']);
expect(util.pluck(query.results, 'id')).to.have.members(['fido', 'spot', 'taco']);
done();
}

Expand Down

0 comments on commit a263d57

Please sign in to comment.