Skip to content

Commit

Permalink
remove non-well defined test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
nateps committed Nov 8, 2019
1 parent 8994ed3 commit 18a038c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/client/query-subscribe.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,9 @@ module.exports = function(options) {
});
query.on('remove', function(docs) {
expect(util.pluck(docs, 'id')).eql(['fido']);
expect(util.pluck(docs, 'data')).eql([undefined]);
// We don't assert the value of data, because the del op could be
// applied by the client before or after the query result is removed.
// Order of ops & query result updates is not currently guaranteed
finish();
});
});
Expand Down

0 comments on commit 18a038c

Please sign in to comment.