We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8994ed3 commit 18a038cCopy full SHA for 18a038c
test/client/query-subscribe.js
@@ -236,7 +236,9 @@ module.exports = function(options) {
236
});
237
query.on('remove', function(docs) {
238
expect(util.pluck(docs, 'id')).eql(['fido']);
239
- expect(util.pluck(docs, 'data')).eql([undefined]);
+ // We don't assert the value of data, because the del op could be
240
+ // applied by the client before or after the query result is removed.
241
+ // Order of ops & query result updates is not currently guaranteed
242
finish();
243
244
0 commit comments