Browse Source

Remove destroy event test

saintedlama/travis-non-legacy
saintedlama 9 years ago
parent
commit
11b513d5d2
  1. 15
      test/test-event-destroy.js

15
test/test-event-destroy.js

@ -1,15 +0,0 @@
var test = require('tape')
var mongojs = require('../index')
test('events destroy', function (t) {
var db = mongojs('test', ['a'])
db.on('destroy', function () {
t.pass('destroy event emitted')
t.end()
})
db.close(function (err) {
t.error(err, 'should close without error')
})
})
Loading…
Cancel
Save