From 7eac18cdbce90d483060fb6717adf641b5d729b2 Mon Sep 17 00:00:00 2001 From: Valeri Karpov Date: Mon, 30 Jul 2018 18:51:34 -0400 Subject: [PATCH] style: fix lint --- test/model.populate.test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/model.populate.test.js b/test/model.populate.test.js index 94f56e49b10..425d515d9bd 100644 --- a/test/model.populate.test.js +++ b/test/model.populate.test.js @@ -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' }).