Fix all test/ files with ESLint rules with 0 errors and 0 warnings.

This commit is contained in:
Gunther Brunner
2016-01-19 20:56:19 +09:00
parent 434f63b3a9
commit b2217d01dd
4 changed files with 9 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ chai.use(require('sinon-chai'))
var TtlSet = require('../../lib/util/ttlset')
describe('TtlSet', function() {
it('should emit "drop" for entries with expired TTL', function(done) {
var ttlset = new TtlSet(50)
@@ -30,7 +29,6 @@ describe('TtlSet', function() {
})
describe('bump', function() {
it('should emit "insert" for new entries', function(done) {
var ttlset = new TtlSet(50)
@@ -126,11 +124,9 @@ describe('TtlSet', function() {
expect(ttlset.tail.prev).to.equal(ttlset.head)
done()
})
})
describe('drop', function() {
it('should emit "drop" for the dropped entry', function(done) {
var ttlset = new TtlSet(50)
@@ -193,7 +189,5 @@ describe('TtlSet', function() {
expect(ttlset.tail.value).to.equal(2)
done()
})
})
})