Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Aug 3, 2022
1 parent 53f27aa commit 6399f3c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/schema/SubdocumentPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,14 @@ SubdocumentPath.defaultOptions = {};

SubdocumentPath.set = SchemaType.set;

/*!
* ignore
*/

SubdocumentPath.prototype.toJSON = function toJSON() {
return { path: this.path, options: this.options };
};

/*!
* ignore
*/
Expand Down

0 comments on commit 6399f3c

Please sign in to comment.