Skip to content

Commit 9ce579e

Browse files
committed
style: fix lint
1 parent 3f776a4 commit 9ce579e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/model.populate.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8959,14 +8959,14 @@ describe('model: populate:', function() {
89598959
it('succeeds with refPath if embedded discriminator has path with same name but no refPath (gh-8452)', function() {
89608960
const ImageSchema = Schema({ imageName: String });
89618961
const Image = db.model('gh8452_Image', ImageSchema);
8962-
8962+
89638963
const TextSchema = Schema({ textName: String });
89648964
const Text = db.model('gh8452_Text', TextSchema);
8965-
8965+
89668966
const opts = { _id: false };
89678967
const ItemSchema = Schema({ objectType: String }, opts);
89688968
const ItemSchemaA = Schema({
8969-
data: {
8969+
data: {
89708970
type: ObjectId,
89718971
refPath: 'list.objectType'
89728972
},
@@ -8976,7 +8976,7 @@ describe('model: populate:', function() {
89768976
data: { sourceId: Number },
89778977
objectType: String,
89788978
}, opts);
8979-
8979+
89808980
const ExampleSchema = Schema({ test: String, list: [ItemSchema] });
89818981
ExampleSchema.path('list').discriminator('gh8452_ExtendA', ItemSchemaA);
89828982
ExampleSchema.path('list').discriminator('gh8452_ExtendB', ItemSchemaB);

0 commit comments

Comments
 (0)