Skip to content

Commit

Permalink
Update test/document.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Hafez <a.hafez852@gmail.com>
  • Loading branch information
vkarpov15 and AbdelrahmanHafez committed Jul 18, 2022
1 parent 130337d commit 00cf1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/document.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11572,7 +11572,7 @@ describe('document', function() {
doc2.counter = 1;
await doc2.save();

doc.$inc('counter');
doc.$inc('counter', 1);
await doc.save();

const res = await Test.findById(doc);
Expand Down

0 comments on commit 00cf1c7

Please sign in to comment.