Skip to content

Commit

Permalink
test: more test fixes for #8566
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Feb 15, 2020
1 parent 3cfa125 commit c2231e2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/collection.capped.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ describe('collections: capped:', function() {
db = start();
});

afterEach(function() {
return db.dropDatabase();
});

after(function(done) {
db.close(done);
});
Expand Down Expand Up @@ -120,6 +116,8 @@ describe('collections: capped:', function() {

// Should not throw
yield Model.create({ name: 'test' });

yield db.dropDatabase();
});
});
});

0 comments on commit c2231e2

Please sign in to comment.