Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 18a038c

Browse files
committed
remove non-well defined test assertion
1 parent 8994ed3 commit 18a038c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/client/query-subscribe.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,9 @@ module.exports = function(options) {
236236
});
237237
query.on('remove', function(docs) {
238238
expect(util.pluck(docs, 'id')).eql(['fido']);
239-
expect(util.pluck(docs, 'data')).eql([undefined]);
239+
// 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
240242
finish();
241243
});
242244
});

0 commit comments

Comments
 (0)