Skip to content

Commit

Permalink
test: clean up test failures for #8566
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Feb 15, 2020
1 parent 447936b commit 2789a3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/collection.capped.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ describe('collections: capped:', function() {
db.close(done);
});

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

it('schemas should have option size', function(done) {
assert.ok(capped.options.capped);
assert.equal(capped.options.capped.size, 1000);
Expand Down

0 comments on commit 2789a3d

Please sign in to comment.