Skip to content

Commit

Permalink
Update test/document.test.js
Browse files Browse the repository at this point in the history
Co-authored-by: hasezoey <hasezoey@gmail.com>
  • Loading branch information
vkarpov15 and hasezoey committed Apr 25, 2024
1 parent 299828d commit cadcf38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/document.test.js
Expand Up @@ -13068,12 +13068,12 @@ describe('document', function() {
jsonField: JsonFieldSchema
});

const blogPostSchema = new Schema({
const BlogPostSchema = new Schema({
comment: CommentSchema
});

const Comments = db.model('Comments', CommentSchema);
const BlogPost = db.model('BlogPost', blogPostSchema);
const BlogPost = db.model('BlogPost', BlogPostSchema);

const comment1 = new Comments({});
comment1.init({
Expand Down

0 comments on commit cadcf38

Please sign in to comment.