Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jul 5, 2020
1 parent 337e3b9 commit e4090b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/query.test.js
Expand Up @@ -1604,7 +1604,7 @@ describe('Query', function() {
q.setOptions({ read: ['s', [{ dc: 'eu' }]] });

assert.equal(q.options.thing, 'cat');
assert.deepEqual(q._mongooseOptions.populate.fans, { path: 'fans', _docs: {} });
assert.deepEqual(q._mongooseOptions.populate.fans, { path: 'fans', _docs: {}, _childDocs: [] });
assert.equal(q.options.batchSize, 10);
assert.equal(q.options.limit, 4);
assert.equal(q.options.skip, 3);
Expand Down

0 comments on commit e4090b1

Please sign in to comment.