Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jul 30, 2018
1 parent e47b669 commit 7eac18c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/model.populate.test.js
Expand Up @@ -4257,17 +4257,11 @@ describe('model: populate:', function() {
});

it('catchable error if localField or foreignField not specified (gh-6767)', function() {
const PersonSchema = new Schema({
name: String,
band: String
});

const BandSchema = new Schema({
name: String
});
BandSchema.virtual('members');

const Person = db.model('gh6767_Person', PersonSchema);
const Band = db.model('gh6767_Band', BandSchema);

return Band.create({ name: 'Motley Crue' }).
Expand Down

0 comments on commit 7eac18c

Please sign in to comment.