Skip to content

Commit

Permalink
Update test/types/document.test.ts
Browse files Browse the repository at this point in the history
Co-authored-by: hasezoey <hasezoey@gmail.com>
  • Loading branch information
vkarpov15 and hasezoey authored Sep 17, 2024
1 parent c2c1351 commit 11494c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/types/document.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ async function gh12959() {
const subdocSchema = new Schema({ foo: { type: 'string', required: true } });

const schema = new Schema({
subdocArray: { type: [subdocSchema], required: true },
subdocArray: { type: [subdocSchema], required: true }
});

const Model = model('test', schema);
Expand Down

0 comments on commit 11494c7

Please sign in to comment.