Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Oct 1, 2019
1 parent f2ac6fb commit 9a1d494
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions test/document.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8103,12 +8103,11 @@ describe('document', function() {
});

const person = yield Person.findOne();
person.set({
const obj = {
name: 'John Smythe',
address: { street: 'Fake Street' } },
undefined,
{ merge: true }
);
address: { street: 'Fake Street' }
};
person.set(obj, undefined, { merge: true });

assert.equal(person.address.city, 'Somewhere');
yield person.save();
Expand Down

0 comments on commit 9a1d494

Please sign in to comment.